A new controller shard was added, and some apps briefly showed as Unknown and re-synced. Why, and how do you avoid it?
AdvancedScenarioOperations, Scale, Upgrades & DR
Answer
Situation read → Reassignment of clusters across shards.
What I'd do →
- Explain: changing replicas changes the shard mapping; clusters move to new pods that must rebuild their cluster cache, during which apps show Unknown.
- Use
consistent-hashingto minimize movement when shard count changes. - Make the change in a quiet window and pre-check distribution with
argocd admin cluster shards. - Ensure
ARGOCD_CONTROLLER_REPLICASmatches the StatefulSet replicas during the change.
Why → Cache warm-up on reassignment is unavoidable but can be minimized.
Interview tip → Knowing why consistent hashing exists shows depth.
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