Product wants internal staff to test the new version in production before any customer sees it. How?
AdvancedScenarioCI Integration & Progressive Delivery
Answer
Situation read → Header-based routing to the canary at 0% weight.
What I'd do →
- Rollout with a traffic router that supports header routing (Istio, NGINX via managed routes, ALB, Gateway API plugin).
- Steps:
setCanaryScale: {replicas: 1},setHeaderRoutematchingX-Canary: internal,pause: {}. - Staff use a browser extension or internal proxy to add the header; after sign-off,
promotecontinues with weight steps.
Why → Header routes isolate testers from real users while the canary runs on production infrastructure.
Interview tip → Mention managedRoutes must be declared in trafficRouting for header routes.
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?IntermediateYou want a release to stop at 50% in prod until a human approves. How?Beginner