Compare rolling, blue-green and canary deployments.
IntermediateConceptDeployment Strategies and GitOps
Answer
| Rolling | Blue-green | Canary | |
|---|---|---|---|
| Extra capacity | Small surge | Full duplicate | Small slice |
| Rollback speed | Slow (rollout reversed) | Instant switch | Fast (shift weight to 0) |
| Risk exposure | Gradual, uncontrolled split | None until the switch, then 100% | Controlled percentage |
| Complexity | Low | Medium | High (metrics and routing) |
Choose rolling for most stateless services, blue-green when instant rollback and pre-switch validation matter, and canary for high-traffic or high-risk changes where you want metric-driven promotion.
More on Deployment Strategies and GitOps
What is a rolling deployment?BeginnerWhat is blue-green deployment?BeginnerWhat is a canary deployment?IntermediateWhat is a recreate deployment and when is it acceptable?BeginnerWhat are feature flags and what types exist?IntermediateWhat is progressive delivery and which tools implement it on Kubernetes?Advanced