ArgoCD › Sync Waves & Hooks

What is a PostSync hook typically used for?

Intermediate

Answer

PostSync hooks run after all resources are applied and Healthy—used for smoke tests, cache warming, notifications, or registering the deployment. A failing PostSync hook marks the sync failed, signaling the release didn't pass its post-checks.
metadata:
  annotations:
    argocd.argoproj.io/hook: PostSync
Real-world example A PostSync integration-test Job verifies the new version works end-to-end after deployment.

Common follow-ups: When does PostSync run relative to health? | What does a PostSync failure indicate?