The argocd namespace was accidentally deleted. Workloads are still running. How do you recover?
AdvancedScenarioOperations, Scale, Upgrades & DR
Answer
Situation read → Control plane gone; data plane fine (unless finalizers cascaded).
What I'd do →
- Check whether Applications were deleted with finalizers (workloads might be deleting); if namespace termination is stuck on Application finalizers, remove those finalizers to stop cascades.
- Reinstall Argo CD with the same version and values.
- Restore repo credentials, cluster Secrets and settings from backup (
argocd admin import) or from Git plus External Secrets. - Restore Sealed Secrets keys if the controller lived there.
- Apply the root app; Applications adopt existing resources without restarts.
Why → Argo CD is rebuildable from Git; the risk is cascade deletion during the incident.
Interview tip → Lead with "stop the cascade", then rebuild.
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.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?AdvancedA cluster's API server is unreachable and its apps show `Unknown`. Other clusters are slow too. What do you suspect and do?Intermediate