Your canary uses replica-based weights with 3 replicas and `setWeight: 10`. What actually happens and what do you change?
IntermediateScenarioCI Integration & Progressive Delivery
Answer
Situation read → Weight is rounded to whole pods.
What I'd do →
- Explain: 10% of 3 rounds up to one canary pod, so roughly 25% to 33% of traffic hits the canary immediately.
- Add traffic routing (NGINX, ALB, Istio, Gateway API) so weights are exact regardless of pod count.
- Or raise replicas, or use
setCanaryScalewith a router to control canary pod count separately.
Why → Without a router, traffic split equals pod ratio.
Interview tip → Shows you understand canary mechanics, not just YAML.
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?IntermediateProduct wants internal staff to test the new version in production before any customer sees it. How?AdvancedYou want a release to stop at 50% in prod until a human approves. How?Beginner