perf(argocd): turning on selective sync

https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#selective-sync

Currently when syncing using auto sync ArgoCD applies every object in the application.
For applications containing thousands of objects this takes quite a long time and puts undue pressure on the api server.
Turning on selective sync option which will sync only out-of-sync resources.
This commit is contained in:
Khue Doan 2022-07-20 23:15:15 +07:00
parent d06470c3ea
commit bcb17a8f58

View File

@ -36,4 +36,5 @@ spec:
maxDuration: 16m
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
{{- end }}