Summary
The incident that started this was not caused by carelessness. It was caused by someone being careful.
A release went out at 14:20 on a Tuesday. Error rate climbed within ninety seconds. The on-call engineer saw the alert, opened the dashboard, checked whether it was a blip, decided it was not, found the previous image tag, and rolled back. Total time from deploy to recovery: five minutes and ten seconds.
Every step in that sequence was correct. Nobody panicked, nobody guessed, nobody skipped a check. And for five minutes, every single user got 500s, because our deploy process had exactly one setting: all of them, now.
Timeline
This one has a clock, and it is worth reading slowly, because every entry in it is someone doing the right thing:
- 14:20 the release goes out, all pods, immediately.
- +90 seconds error rate climbs. The alert fires.
- The on-call engineer sees the alert, opens the dashboard, checks whether it is a blip, decides it is not.
- Finds the previous image tag, runs the rollback.
- 14:25:10 recovered. Five minutes and ten seconds, deploy to recovery.
kubectl rollout undo is fast. Deciding to run it is not.
Impact
- Every user, 500s, for five minutes and ten seconds.
- The failing change itself is not recorded beyond “a release”; what the incident is about is the shape of the exposure, which was 100% of users from the first pod.
- Downstream of the same process: nobody wanted to deploy on a Friday, so work batched up over the weekend, Monday releases were larger, and larger releases fail more often, which reinforced the fear that produced them.
Root cause
The deploy process had one setting. A RollingUpdate replaces pods
gradually, which people read as gradual exposure. It is not: once the
first new pod is Ready, the Service load balances across old and new
indiscriminately. Readiness probes catch a pod that failed to start. They
say nothing about a pod that starts perfectly and returns the wrong
answer.
The outage duration was set by the rollback decision latency, not by the rollback mechanics, and the decision latency was human and correct.
Contributing factors
All-at-once exposure was invisible as a setting. Nothing in the pipeline asked what fraction of users a release should reach before it counted as healthy.
No per-version metrics. The dashboard the on-call engineer opened showed aggregate error rate, which is why “is it a blip” was a judgment call at all.
The rollback was a runbook step, not a property of the system. The system had no notion that it could protect itself faster than a person can read a graph.
What changed
The full migration to progressive delivery is the case study: Argo Rollouts with canary analysis across 27 services. The pieces this incident directly demanded:
- Canary exposure with automated analysis. A bad release now reaches 5% of users at most, and the median automated rollback is 41 seconds, against 5m 10s here, because the stable ReplicaSet never went away.
- Analysis against the stable version on the same graph, not against a fixed threshold. A fixed threshold is wrong in both directions: it fires overnight when low traffic makes normal variance look extreme, and it stays quiet at peak when a genuine regression is still under the number.
- A minimum-traffic requirement before analysis passes. The first version measured thirty seconds at 5% weight, which on that service was sixty requests, and sixty requests cannot distinguish a 0.5% error rate from a 2% one. It passed on noise and shipped two regressions.
Did it hold
Change failure rate over the following quarter fell 68%, from 11.2% of deploys causing a user-visible regression to 3.6%, and deploy frequency rose about 40%. Some of that improvement is better deployment and some is better observability, and we could not cleanly separate the two; the review says so rather than rounding it off.
The honest limit: three failures got through in the following quarter, and every one was outside what a canary can see. A memory leak that took four hours to matter. A migration fine at 5% write volume that locked the table at 100%. A bug affecting only accounts created before a 2021 schema change, under 2% of users, never in the canary slice at all. Narrowing blast radius is real and it is not a substitute for testing.
What I would do differently
Stop measuring rollback speed and start measuring decision speed. The five minutes were not tooling latency; they were a careful human being careful, and the system’s job was to not need that human’s caution at 14:20 on a Tuesday.
The full rollout, including the flapping-canary debugging and the weeks-by-week migration timeline, is written up in Progressive Delivery with Argo Rollouts.


