Replies: 1 comment 3 replies
-
Yes, ArgoCD Repo Server uses redis for caching purposes, it cache some git information, also generated manifests and so on. I think your memory usage may spike due to missed cache. Are you using Helm applications ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some context:
Recently, we had a case where all argocd components were reassigned to nodes after a kubernetes upgrade. After the upgrade, argocd-repo-server pod was seen to be constantly getting OOMKilled. I thought this was due to all git repos trying to be fetched at the same time, so I increased the memory requests and limits temporarily, put it back to original configuration after a while, and it resolved OOMKilled issue. However, when I applied new memory configuration, argocd-repo-server pod restarted, which means that all git repos cached under /tmp must have been lost (and to clarify, an emptydir is mounted to /tmp). This confused me, since that does not explain how increasing memory and putting it back resolved the issue. Some questions stemmed from this:
Would really appreciate any insights.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions