You are on call and need to stop all automated syncs across Argo CD immediately during an incident. How?
AdvancedScenarioOperations, Scale, Upgrades & DR
Answer
Situation read → There is no single global auto-sync switch.
What I'd do →
- Add a
denysync window covering all applications in affected projects (argocd proj windows add <proj> --kind deny --schedule "* * * * *" --duration 4h --applications '*'), allowing manual sync if needed. - For a total freeze, scale the application controller to 0 (stops reconciliation entirely; workloads keep running).
- Record the action in the incident channel and remove it afterwards.
Why → Sync windows are the supported, auditable freeze; scaling the controller is the big hammer.
Interview tip → Mention that self-heal is also an automated sync, so a deny window blocks it too, and the window is visible in the UI so everyone knows a freeze is active.
More on Operations, Scale, Upgrades & DR
Your Argo CD manages 2,000 apps across 40 clusters and the UI is slow and syncs lag. Where do you start?AdvancedYou need to upgrade Argo CD from 2.10 to 3.x. Plan it.AdvancedThe argocd namespace was accidentally deleted. Workloads are still running. How do you recover?AdvancedYou need to migrate all Applications from one Argo CD instance to another with no deploy gaps. How?AdvancedRedis in Argo CD keeps getting OOMKilled. What do you do?IntermediateYour team must prove a full disaster recovery: new region, new cluster, everything back in under an hour. How does GitOps help, and what is not covered?Advanced