How do you deploy the same release to three clusters consistently?
IntermediateScenarioReleases, Upgrades & Rollbacks
Answer
Situation read → Multi-cluster: same chart version, cluster-specific values.
What I'd do →
- GitOps: an Argo CD ApplicationSet with a cluster generator renders one Application per cluster, values from
clusters/<name>/values.yaml. - Or Helmfile with environments per cluster and
--kube-context. - Roll out in waves (staging cluster, one prod cluster, then the rest).
- Charts come from one OCI registry with replication to each region.
Why → Declarative multi-cluster definitions prevent snowflake clusters.
Interview tip → ApplicationSet cluster generator is the expected keyword.
More on Releases, Upgrades & Rollbacks
A production upgrade starts failing health checks five minutes after the deploy. What do you do?BeginnerWhy would you insist on `--atomic --wait` in CI, and what is the trade-off?IntermediateYou need zero-downtime upgrades of the API with Helm. What must be true in the chart?IntermediateA pipeline was cancelled mid-upgrade and now every deploy fails with "another operation is in progress". What do you do?AdvancedA rollback is requested, but the failed release ran a migration that dropped a column. What do you do?AdvancedThe team scaled a Deployment manually to 10 replicas during a traffic spike. The next deploy scaled it back to 3. Explain and fix.Intermediate