How do you use sync waves on child applications for ordered platform bootstrap?
Short answer
Annotate child Application resources with sync waves so the parent creates foundational apps first (CRDs, ingress, cert-manager in low waves) before dependent workloads (higher waves). This ensures the platform layer is Healthy before apps that rely on it are created.
Advertisement
AModel answer
Annotate child Application resources with sync waves so the parent creates foundational apps first (CRDs, ingress, cert-manager in low waves) before dependent workloads (higher waves). This ensures the platform layer is Healthy before apps that rely on it are created.
# child app
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0" # platform before wave 1 appsReal-world example
cert-manager and ingress (wave 0) become Healthy before the workloads (wave 1) that need TLS and routing.
Likely follow-ups
- What ordering do waves give across children? | Why bootstrap platform first?
Related topics