You need to promote releases dev → staging → prod automatically, but prod requires approval. Design the flow.
IntermediateScenarioEnvironments, ApplicationSets & Multi-Cluster
Answer
Situation read → Automated lower environments, gated prod.
What I'd do →
- CI commits new tags to
envs/dev. Argo CD auto-syncs. - A post-deploy workflow (triggered by a notification webhook or a scheduled check) verifies dev health and opens a PR to
envs/staging, auto-merged after checks. - Same for prod, but the PR requires CODEOWNERS approval and prod syncs in a window or manually.
- Alternatively use Kargo stages with verification and a manual promotion for prod.
Why → Every promotion is a Git change with a record; only the prod step needs a human.
Interview tip → Emphasize promoting the same artifact (tag or digest), never rebuilding.
More on Environments, ApplicationSets & Multi-Cluster
You need to deploy the same app to dev, staging and prod namespaces with different values. Design it with an ApplicationSet.IntermediateA new prod cluster comes online every month. How do you make sure it gets all standard add-ons automatically?IntermediateA matrix ApplicationSet (clusters times apps) generated 300 Applications, but a bad commit to one app's chart broke all prod clusters at once. How do you redesign for safer rollouts?AdvancedYou want preview environments for every pull request on the app repo. How do you do it with Argo CD?IntermediateSome clusters need a different version of an add-on than the rest. How do you handle exceptions without duplicating ApplicationSets?AdvancedHow would you register 50 EKS clusters with Argo CD securely, without long-lived tokens?Advanced