Skip to content

CICD-296 · Argo CD sync waves ​

Encyclopedia · Advanced GitOps and progressive delivery · All snippets

Previous · CICD-295 · Next · CICD-297

1. Where it fits ​

  • Placement manifest metadata annotations.
  • Prerequisites trusted configuration repository, test cluster and named GitOps controller or rollout controller.
  • Platforms kubernetes, local-lab.

2. Copy the snippet ​

yaml
annotations:
  argocd.argoproj.io/sync-wave: "-1"

3. How it works ​

A negative sync wave places dependency resources before the normal wave. Argo CD uses the ordering along with application health during sync.

4. Verify the result ​

Apply to a dependency such as configuration. A higher wave should wait for earlier healthy resources per controller behaviour.

Validation syntax-validated (YAML parse). Status definitions.