Open cubxxw opened 11 months ago
root@openim-super:~# df -h | grep argo
tmpfs 63G 0 63G 0% /var/lib/kubelet/pods/bf469cbc-52fc-452b-a425-bdda893e584f/volumes/kubernetes.io~secret/argocd-repo-server-tls
tmpfs 63G 0 63G 0% /var/lib/kubelet/pods/ae8c92aa-9c5a-4cd8-a69b-a0b48a567130/volumes/kubernetes.io~secret/argocd-repo-server-tls
tmpfs 63G 0 63G 0% /var/lib/kubelet/pods/21e6d02b-7bee-4f58-9e13-80ddb7336143/volumes/kubernetes.io~secret/argocd-repo-server-tls
tmpfs 63G 0 63G 0% /var/lib/kubelet/pods/4e8fde05-b834-407b-8f93-89d2005c5a71/volumes/kubernetes.io~secret/argocd-dex-server-tls
tmpfs 63G 0 63G 0% /var/lib/kubelet/pods/4e8fde05-b834-407b-8f93-89d2005c5a71/volumes/kubernetes.io~secret/argocd-repo-server-tls
i am also facing same issue, how's this been fixed?
I'm observing the same behaviour in an ArgoCD instance created using the community-maintained operator
k8s version v1.28.2 operator version 0.11.0
$ argocd version
argocd: v2.11.7+e4a0246
BuildDate: 2024-07-24T14:02:54Z
GitCommit: e4a0246c4d920bc1e5ee5f9048a99eca7e1d53cb
GitTreeState: clean
GoVersion: go1.22.5
Compiler: gc
Platform: darwin/arm64
good
@alexmt
Can you try adding persistent volume to your repo server. What is the total number of applications that your Argocd services? https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/
argocd-repo-server clones the repository into /tmp (or the path specified in the TMPDIR env variable). The Pod might run out of disk space if it has too many repositories or if the repositories have a lot of files. To avoid this problem mount a persistent volume.
I am experiencing significant memory usage issues with ArgoCD in my Kubernetes environment, leading to multiple pod evictions. I am seeking guidance and recommendations on how to address this issue effectively.
Issue Description:
I've noticed that the
argocd-dex-server
andargocd-repo-server
pods are being repeatedly evicted due to high memory consumption. The main error message is related to the node being low on resources, specifically ephemeral storage. Here is an excerpt from the Kubernetes logs:Questions:
I am looking forward to your guidance on resolving these memory-related issues with ArgoCD.
Thank you for your assistance.
Version
Logs