← All notes

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

Sources

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

Permanent ID: iil:note:9r5eawfv

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.},
}

Markdown

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.

All artifact files (JSON index)

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.