Deployment strategies, visualised
Every way to ship a new version, played out on the same cluster.
Watch requests flow, pods come and go, and a bad release hit your users or not. Compare downtime, cost, rollback speed and blast radius on equal terms.
A rolling update: v1 pods are replaced by v2 one at a time.
Deploy ≠ release
Deploying
puts new code on servers. It's an operational event: pods, images, capacity.
Releasing
puts new behaviour in front of users. It's a product event. The safest teams keep the two apart.
Strategies
They work at different layers, and the layers stack. A team might deliver with GitOps, roll out as a canary, and release behind a feature flag, all at once.
Infrastructure
How do old instances get replaced?Traffic
Who gets routed to the new version?Canary
Send a small slice of traffic to the new version first.
Progressive delivery
Canary steps promoted, or rolled back, by metrics.
Shadow
Mirror real traffic to the new version. Users never see it.
A/B testing
Route user segments to variants and measure outcomes.
Ring deployment
Widen the audience ring by ring: staff, early adopters, everyone.
Code
Is the new code switched on for this user?Delivery
How do changes reach the cluster at all?Go deeper
All guides →- Kubernetes rolloutsReplicaSets, probes, graceful shutdown, and a maxSurge/maxUnavailable playground.
- GitOpsPush a commit, cause drift, git revert, and watch Argo CD reconcile.
- Hard partsExpand/contract migrations, the shutdown race, version skew, and rolling back vs rolling forward.
- StoriesKnight Capital, CrowdStrike, Kayenta, and where blue-green got its name.
- GlossaryShort definitions for every term on this site.