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

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 →

  1. Explain: changing replicas changes the shard mapping; clusters move to new pods that must rebuild their cluster cache, during which apps show Unknown.
  2. Use consistent-hashing to minimize movement when shard count changes.
  3. Make the change in a quiet window and pre-check distribution with argocd admin cluster shards.
  4. Ensure ARGOCD_CONTROLLER_REPLICAS matches 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.

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

More on Operations, Scale, Upgrades & DR