Interview Prep/GitOps & Argo CD/Sync Waves, Hooks, Health & Diffing

What are sync waves and how is ordering decided?

BeginnerConceptSync Waves, Hooks, Health & Diffing
Answer

A wave is an integer set with argocd.argoproj.io/sync-wave (default "0", negatives allowed). Within each sync phase, Argo CD applies resources in ascending wave order and waits for all resources in a wave to be healthy before starting the next. Within a single wave, ordering is by kind (Namespaces and CRDs first, then RBAC, ConfigMaps, Secrets, Services, workloads, Ingress), then by name.

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

More on Sync Waves, Hooks, Health & Diffing