You want a release to stop at 50% in prod until a human approves. How?
BeginnerScenarioCI Integration & Progressive Delivery
Answer
Situation read → Manual gate in canary steps.
What I'd do →
steps:
- setWeight: 20
- pause: {duration: 10m}
- setWeight: 50
- pause: {}
- setWeight: 100
Approve with kubectl argo rollouts promote web -n prod or the Argo CD "resume" action. Restrict the action with RBAC (action/argoproj.io/Rollout/resume).
Why → pause: {} waits indefinitely; Argo CD shows the app as Suspended.
Interview tip → Mention a notification on Suspended so the approver knows.
More on CI Integration & Progressive Delivery
Design a CI pipeline that deploys through GitOps without giving CI cluster access.BeginnerTwo pipelines commit tag bumps to the config repo at the same time and one fails with "rejected, non-fast-forward". How do you make it robust?BeginnerShould CI wait for Argo CD to finish deploying before marking the pipeline green?IntermediateYou want automatic rollback when error rates rise after a deploy. How do you build it?IntermediateYour canary uses replica-based weights with 3 replicas and `setWeight: 10`. What actually happens and what do you change?IntermediateProduct wants internal staff to test the new version in production before any customer sees it. How?Advanced