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

How do health checks interact with sync waves when a resource is `Degraded`?

IntermediateConceptSync Waves, Hooks, Health & Diffing
Answer

If a resource in the current wave becomes Degraded, the sync stops progressing to later waves and eventually fails (it does not keep waiting forever once health is terminally bad). Progressing resources make the sync wait. This is how a broken migration or failing Deployment in wave 0 prevents the Ingress switch in wave 1. A SyncFail hook can then run.

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

More on Sync Waves, Hooks, Health & Diffing