-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
Checklist:
- I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- I've included steps to reproduce the bug.
- I've pasted the output of
argocd version.
Whenever an ArgoCD managed app gets out of sync with an error that can't be resolved, like a secret that can't be accessed due to permissions errors, a few of our ArgoCD services have a sustained spike in CPU usage. As soon as the underlying issue is fixed outside of Argo and the app sync resolves the CPU usage falls back to normal levels. It's as if the services are working overtime. This happens frequently in our lower environments as new apps are being onboarded with ArgoCD. The CPU will stay sustained at the higher level for up to a day or more until the sync issue is resolved.
To Reproduce
- Get an ArgoCD app into a state where it is out of sync and can't be resolved.
Expected behavior
ArgoCD flags an app out of sync but does not consume significantly higher CPU resources in multiple components.
Screenshots
Application controller pod cpu usage before and after app is out of sync.
Repo service pod cpu usage before and after app is out of sync.
Redis pod cpu usage before and after app is out of sync.
Server pod cpu usage before and after app is out of sync.
Version
v2.14.4+3d901f2Logs
Paste any relevant application logs here.



