Delivery, topic 28 of 61
Blue-green deployments
In a blue-green release the new version, green, runs in full beside the live one, blue. Once green is tested, traffic moves to it in one step, and moving back is just as quick, since blue is still running.
In Kubernetes the switch is often a Service's selector changed from one label to another, or a route's backend in the Gateway API. It costs double the capacity for a while, and the database has to work with both versions at once.
On Opsfolk
- Blue-Green Deployment Explained: Zero-Downtime Releases with Instant RollbackArticle, 18 min read
- Certified Kubernetes Application Developer (CKAD)Certification
Elsewhere
- Argo RolloutsOfficial