Quick Answer
Blue-green: two full environments (blue=current, green=new). Switch traffic all at once via load balancer. Instant rollback by switching back. Requires double the infra. Best when you can't run old and new code simultaneously (DB migrations, breaking changes). In Kubernetes: two Deployments, switch Service selector between them.
Answer
Deploy old (blue) and new (green) versions side-by-side. Shift traffic when new version stabilizes. Reduces downtime and rollback risk.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.