ArgoCD › Sync & Health
How do you prevent auto-sync from applying an unwanted change during an incident?
AdvancedAnswer
You can disable automated sync temporarily (remove/patch syncPolicy.automated), use sync windows to block syncs during a change freeze, set the app to manual, or add maintenance annotations. Sync windows (defined on the Project) allow/deny syncs on a schedule so automated reconciliation pauses during sensitive periods.
kind: AppProject
spec:
syncWindows:
- kind: deny
schedule: '0 22 * * *'
duration: 8h
applications: ['*']Real-world example A nightly deny sync window freezes deployments during the change-freeze period so no auto-sync fires.