The business wants to deploy 20 times a day to prod with no human approval. How do you make that safe with GitOps?
AdvancedScenarioCI Integration & Progressive Delivery
Answer
Situation read → High frequency requires automated verification at each stage.
What I'd do →
- Automated promotion pipeline: dev and staging with full test suites and analysis gates.
- Prod: Rollouts canary with metric analysis and automatic abort, small initial weights, background analysis.
- Automated Git revert of the prod commit when a rollout aborts (a notification triggers a workflow).
- Feature flags to decouple deploy from release; SLO-based release freezes when the error budget is exhausted.
Why → Speed is safe when every step has an automatic stop and rollback.
Interview tip → Tie it to DORA metrics: deployment frequency and change failure rate together.
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