How do you promote releases between environments in GitOps?
IntermediateProductionRelease Engineering and Progressive Delivery
Answer
The config repo has overlays (dev, staging, prod) or directories per environment. After CI builds the image and updates dev, promotion is a PR copying the pinned version (image tag or chart version) from one overlay to the next, ideally automated by a bot after gates pass (tests, bake time). Prod promotion requires review. Everything is auditable via Git history, and rollback is git revert.
More on Release Engineering and Progressive Delivery
How do you do zero-downtime deployments on Kubernetes?IntermediateHow do you implement a canary release with Argo Rollouts and automated analysis?AdvancedHow do you roll back safely when a deploy includes a database migration?AdvancedHow do you design an automated rollback trigger?AdvancedHow do you handle hotfixes in a trunk-based flow?IntermediateHow do you version and release libraries versus services?Intermediate