A release requires changes to both the app image and a ConfigMap. How do you ensure they deploy together?
BeginnerScenarioCI Integration & Progressive Delivery
Answer
Situation read → Atomicity across manifests.
What I'd do →
- Make both changes in the same commit to the config repo (CI can open a PR with both).
- Ensure the ConfigMap change rolls pods (hashed name or checksum annotation).
- Use waves if the ConfigMap must exist before pods (it usually is ordered by kind anyway).
Why → One commit is one desired state; Argo CD applies it in one sync.
Interview tip → Mention that splitting them across two commits creates an intermediate broken state.
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