Commit Graph

6 Commits

Author SHA1 Message Date
Khue Doan
cb1b80e34a Revert "perf(argocd): skip dry run for new CRD"
This reverts commit 377b02a6ea.

This option is resource specific, need to add an annotation to each one.
e284fd71cb/pkg/sync/sync_context.go (L734)
2022-12-24 14:11:17 +07:00
Khue Doan
377b02a6ea perf(argocd): skip dry run for new CRD
Currently, on first sync, many apps (such as nginx) will wait for ServiceMonitor,
which is created by the system/monitoring-system and takes a long time to sync.
This will significantly improve the installation speed.
2022-12-24 13:41:16 +07:00
Khue Doan
fcae2f4870 feat(argocd): upgrade and enable server side apply 2022-11-28 17:14:02 +07:00
Khue Doan
bcb17a8f58 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.
2022-07-20 23:15:15 +07:00
Khue Doan
a282bb0bb8 fix(bootstrap): add missing revision in template
(cherry picked from commit 1f019f67a677b4295e10b69501c02ae4909bb704)
2022-02-09 19:02:59 +07:00
Khue Doan
f4b63c018f refactor(bootstrap)!: split argocd and root 2021-12-28 10:24:05 +07:00