A team wants two complete, independently running environments, old and new, and plans to switch all production traffic from one to the other in a single cut-over. Which deployment pattern are they describing?
Choose one.
Blue-green deployment is a release pattern, not a built-in Kubernetes Deployment strategy value.
In blue-green, both versions are deployed and fully scaled at the same time as separate resources, for example two Deployments, and traffic is redirected all at once, often by changing which Pods a Service's label selector matches. This gives an instant, easily reversible cutover, at the cost of running double the capacity briefly.
- Deploy the new (green) version alongside the running (blue) version, fully scaled.
- Validate the green environment separately from production traffic.
- Switch the Service or load balancer to point at green all at once, and keep blue available for a fast rollback.
Exam tip: Blue-green is an application-level pattern built from ordinary Kubernetes objects, not a Deployment strategy field value.
Cloud Native Application Delivery: GitOps, Helm, and Deployment Strategies — the lesson that teaches this.