mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:24:52 +07:00
perf(argocd): ignore resource update to reduce CPU usage
From https://argo-cd.readthedocs.io/en/stable/operator-manual/reconcile By default, an Argo CD Application is refreshed every time a resource that belongs to it changes. Kubernetes controllers often update the resources they watch periodically, causing continuous reconcile operation on the Application and a high CPU usage on the argocd-application-controller When a resource update is ignored, if the resource's health status does not change, the Application that this resource belongs to will not be reconciled.
This commit is contained in:
parent
f3e3fa22ec
commit
59cd428763
@ -3,5 +3,5 @@ name: argocd
|
||||
version: 0.0.0
|
||||
dependencies:
|
||||
- name: argo-cd
|
||||
version: 5.20.2
|
||||
version: 5.53.0
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
|
@ -3,7 +3,10 @@ argo-cd:
|
||||
extraArgs:
|
||||
- --insecure
|
||||
config:
|
||||
statusbadge.enabled: 'true'
|
||||
resource.ignoreResourceUpdatesEnabled: true
|
||||
resource.customizations.ignoreResourceUpdates.all: |
|
||||
jsonPointers:
|
||||
- /status
|
||||
resource.customizations.health.argoproj.io_Application: |
|
||||
hs = {}
|
||||
hs.status = "Progressing"
|
||||
|
Loading…
Reference in New Issue
Block a user