Advertisement
Advanced ArgoCD, Sync & Health

How do sync windows control when syncs are allowed?

Short answer

Sync windows, defined on an AppProject, allow or deny syncs on a cron schedule for matching apps—useful for change freezes or maintenance windows.

Save ArgoCD mock interview
Advertisement
AModel answer
Sync windows, defined on an AppProject, allow or deny syncs on a cron schedule for matching apps—useful for change freezes or maintenance windows. A deny window blocks automated (and optionally manual) syncs during sensitive periods; allow windows restrict syncs to approved times.
syncWindows:
  - kind: allow
    schedule: '0 9 * * 1-5'
    duration: 8h
    applications: ['prod-*']
Real-world example
Production apps can only auto-sync during business hours via an allow window, freezing deploys overnight.
Likely follow-ups
  • Where are sync windows defined? | Can they block manual syncs?
Related topics