Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application-controller pod has very High CPU usage #7406

Closed
4 tasks
sunidhi121 opened this issue Oct 11, 2021 · 2 comments
Closed
4 tasks

application-controller pod has very High CPU usage #7406

sunidhi121 opened this issue Oct 11, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@sunidhi121
Copy link

sunidhi121 commented Oct 11, 2021

Checklist:

Describe the bug

The application-controller pod uses about 769% of CPU with ~129 apps.
Our argocd was using 2215% of CPU before upgrading it from v1.x to 2.0.3. Not it has reduced to 769%.
Argocd is configured for 7 different external clusters. Our workflow has main-app subapp architecture contributing to around 129 apps running in 8 clusters.
There are many applications that are in constantly in syncing state or progressing and many are out of sync. Few applications also have other sync issues. For few applications the health check is constantly happening.
image

To Reproduce

  1. Deploy argo cd 2.0.3 into a 3 node kubernetes cluster.
  2. Add 7 different external clusters to deploy applications and deploy applications into all the clusters with appofapps structure in gitlab.
  3. Observe resource usage via Grafana

Expected behavior

The application-controller uses less CPU.

Screenshots

image
image

Version
v2.0.3+8
image

Logs

LOGS cant be shared due to company security reasons.
 I could not find anything odd in the argocd controller logs.

@sunidhi121 sunidhi121 added the bug Something isn't working label Oct 11, 2021
@jessebye
Copy link

jessebye commented Nov 2, 2021

@sunidhi121 possibly related: #6108

@agaudreault
Copy link
Member

The behavior can be configured in ignoreResourceUpdates to resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants