Interview Prep/GitOps & Argo CD/Sync Behaviour, Waves & Hooks

A big app has 1,500 resources and every sync takes 10 minutes. How do you speed it up?

AdvancedScenarioSync Behaviour, Waves & Hooks
Answer

Situation read → Sync applies everything, every time.

What I'd do →

  1. Enable ApplyOutOfSyncOnly=true so only changed resources are applied.
  2. Split the app into several Applications by component (CRDs, operators, workloads, dashboards).
  3. Use ServerSideApply=true for large objects to avoid annotation bloat.
  4. Raise controller.kubectl.parallelism.limit if the controller has headroom.
  5. Review waves: many waves add delays and health waits.

Why → Most of the time is spent re-applying unchanged objects and waiting between waves.

Interview tip → Splitting apps also reduces blast radius when one manifest is broken.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Sync Behaviour, Waves & Hooks