Interview Prep/GitOps & Argo CD/Operations, Scale, Upgrades & DR

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 →

  1. Add a deny sync window covering all applications in affected projects (argocd proj windows add <proj> --kind deny --schedule "* * * * *" --duration 4h --applications '*'), allowing manual sync if needed.
  2. For a total freeze, scale the application controller to 0 (stops reconciliation entirely; workloads keep running).
  3. 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.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Operations, Scale, Upgrades & DR