sync wave
A number set in an annotation that tells Argo CD which resources to apply first during a sync.
In more detail
Lower waves go first, and Argo CD waits for them to be healthy before moving on, so a namespace can precede a Service and a Service a Deployment. The order lives with the resources in Git instead of in a hidden script.
Example
metadata:
annotations:
argocd.argoproj.io/sync-wave: "1"Related terms
- Argo CD sync — An Argo CD operation that applies an Application's rendered desired state to the cluster.
- Kubernetes annotation — A key-value note attached to a Kubernetes object for tools to read, without affecting how objects are selected.
- health status — Argo CD's verdict on whether a resource works: Healthy, Progressing, Degraded, Suspended, Missing or Unknown.
Taught in
- One Commit, Four Argo Projects — Certified Argo Project Associate (CAPA) Exam Prep
- Sync Phases, Waves And Hooks — Certified Argo Project Associate (CAPA) Exam Prep
- ApplicationSets And The App Of Apps — Certified Argo Project Associate (CAPA) Exam Prep
- Health, Reconciliation And Fields Argo CD Should Ignore — Certified Argo Project Associate (CAPA) Exam Prep
- Final Mock, Review And A Trap Sprint — Certified Argo Project Associate (CAPA) Exam Prep
- Sync Waves and Dependency Management — Continuous Integration & Continuous Delivery Pipelines