GitOps & ArgoCD (50 Qs)•Part 3: Enterprise Scale, Security & Edge GitOps (Senior / Staff)
How do you scale ArgoCD to 10,000+ Applications?
senior LevelSecurity & Auth
In Simple Words:
- Sharding Application Controller: Run multiple replicas of
argocd-application-controllerusing statefulset sharding (ARGOCD_CONTROLLER_REPLICAS=5). Each shard processes a partition of clusters. - Tune Repo Server: Scale
argocd-repo-serverhorizontally, increase Git clone timeout, and configure local Git repository disk caches. - Webhook Notifications: Instead of ArgoCD polling Git every 3 minutes (which triggers thousands of git fetches), configure GitHub Webhooks to notify ArgoCD immediately upon commit.