Argo CD / Automation, lifecycle, and trust / Lesson 14
Evaluate Argo CD sync windows
Trace matching allow and deny windows before interpreting a blocked Application sync.
On this page
Lesson goals
- Explain the role of project sync windows.
- Evaluate overlapping allow and deny windows.
- Separate sync permission from release health and authorization.
Define the timing boundary
An AppProject can define sync windows that allow or deny synchronization for matching Applications, namespaces or clusters. A window governs when a sync may proceed; it does not approve the manifests or prove the workload healthy. Review the installed versionโs matching, time zone and manual-sync settings. The records here are fictional and do not change a project or initiate a sync.
Evaluate an allowed interval
The first record assumes an active matching allow window and no active matching deny window. Under those assumptions a sync is not blocked by the window, but identity, project permissions and other conditions still apply. Record the Application, destination, current time and all matching windows rather than inspecting one schedule in isolation.
application: catalog-lab
matching_allow_window: active
matching_deny_window: inactive
manual_override: disabled
The record is an evaluation example, not an AppProject manifest or observed status.
Evaluate an overlap
The second record assumes both a matching allow and deny window are active. The deny window takes precedence, so an automatic sync is blocked by the window. Manual-sync exceptions are a separate configured behavior and must be reviewed for the exact window and installed version. A blocked sync can leave desired and live state different until an allowed operation occurs.
application: catalog-lab
matching_allow_window: active
matching_deny_window: active
automatic_sync: denied
The record describes a hypothetical automatic sync and does not perform one.
Investigate a blocked sync
Compare the Application name, destination namespace and cluster against every relevant window selector. Confirm schedule, duration, time zone and current status using approved read-only evidence. A blocked sync can be intentional governance, not a controller failure. Do not remove a deny window or force a manual operation merely to clear an alert; consult the authorized change owner.
Verify the intended policy
In an isolated lab, test a matching Application during allowed and denied intervals and an approved nonmatching case. Record whether manual sync is permitted when configured and verify that project authorization remains intact. After a permitted sync, inspect resource health independently. Timing permission alone does not prove the deployed revision, capacity or recovery behavior.
Common errors and fixes
An active allow window is assumed to override a deny window
- Why it happens
- Matching active deny windows take precedence.
- How to fix it
- Review all matching windows and the installed version.
- Prevent it next time
- Test overlapping schedules.
A blocked sync is treated as a controller outage
- Why it happens
- The project may intentionally restrict the time.
- How to fix it
- Inspect matching windows before changing controller settings.
- Prevent it next time
- Document schedules and ownership.
An allowed sync is treated as release approval
- Why it happens
- Timing policy does not review manifests or health.
- How to fix it
- Review source, permissions and application behavior separately.
- Prevent it next time
- Keep change approval and window evidence distinct.
2 practice exercises
1. Both matching allow and deny windows are active. What happens to automatic sync?
Show worked solution
The deny window takes precedence and blocks the automatic sync under the stated assumptions.
2. The window allows sync but the Application is unhealthy. Is the release verified?
Show worked solution
No. Inspect the deployed revision and resource health; timing permission is not application acceptance.
Key takeaways
- Sync windows constrain timing for matching Applications.
- An active deny takes precedence over an active allow.
- Timing, authorization and health are separate checks.