Order Argo CD syncs with hook phases and wave numbers
Answer: Sync phases and waves control when Argo CD applies resources, including hooks that run before or after the main sync. Multiple hooks can be specified as a comma-separated list.
Phases
PreSync hooks run first. SyncFail executes when the sync operation fails. PreDelete runs before Application resources are deleted, and PostDelete runs after they are gone. If a hook in a required phase fails, the whole sync can be marked failed.
| phase | when it runs | |---|---| | PreSync | before the main apply | | Sync | with the main resources | | PostSync | after a successful apply | | SyncFail | when the sync operation fails | | Skip | skip the application of the manifest |
Waves
Within a phase, wave numbers order batches of resources. Apply all resources marked as PreSync hooks before moving on.
See also
Claims
- id: C1 claim: Multiple hooks can be listed as a comma-separated list. source: S2 evidence: "Multiple hooks can be specified as a comma separated list."
- id: C2 claim: PreSync hooks are applied before the rest of the sync. source: S2 evidence: "Apply all the resources marked as PreSync hooks."
- id: C3 claim: SyncFail executes when the sync operation fails. source: S1 evidence: "SyncFail Executes when the sync operation fails."
Sources
- [S1] Sync Phases and Waves. Argo CD. https://argo-cd.readthedocs.io/en/stable/user-guide/sync-waves/ . License: Apache-2.0. Accessed 2026-11-20.
- [S2] sync-waves.md. argoproj/argo-cd. https://raw.githubusercontent.com/argoproj/argo-cd/master/docs/user-guide/sync-waves.md . License: Apache-2.0. Accessed 2026-11-20.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Argo CD, Sync Phases and Waves; argoproj/argo-cd, sync-waves.md. Apache-2.0; Apache-2.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Argo CD, Sync Phases and Waves; argoproj/argo-cd, sync-waves.md. Apache-2.0; Apache-2.0.
Cite this
iinventedlight. 2026. "Order Argo CD syncs with hook phases and wave numbers." iinventedlight Library, iil:note:9r5eawfv, version of 2026-11-20. https://iinventedlight.com/library/notes/argocd-sync-waves/. License: CC-BY-4.0.
@misc{iil_note_9r5eawfv,
author = {{iinventedlight}},
title = {{Order Argo CD syncs with hook phases and wave numbers}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-20},
url = {https://iinventedlight.com/library/notes/argocd-sync-waves/},
note = {Permanent ID iil:note:9r5eawfv. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- argocd-sync-waves.table.json (table; CC-BY-4.0)
- argocd-sync-waves.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/argocd-sync-waves.md.