What is a rolling deployment?
BeginnerConceptDeployment Strategies and GitOps
Answer
A rolling deployment replaces instances of the old version with the new one gradually, a few at a time, so capacity is maintained and there is no downtime. It is the Kubernetes Deployment default. Rollback is another rolling update in reverse. Downsides: old and new versions serve traffic simultaneously (so they must be compatible), and rollback takes as long as rollout.
strategy:
type: RollingUpdate
rollingUpdate: { maxSurge: 25%, maxUnavailable: 0 }
More on Deployment Strategies and GitOps
What is blue-green deployment?BeginnerWhat is a canary deployment?IntermediateCompare rolling, blue-green and canary deployments.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