Sheet ⁨01⁩ · ⁨Sheet⁩Surveyed ⁨2026⁩

Five Minutes of 500s, Caused by Someone Being Careful

Published: Updated: 03 Mins read
Markdown for AI(opens in a new tab)

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:

  1. 14:20 the release goes out, all pods, immediately.
  2. +90 seconds error rate climbs. The alert fires.
  3. The on-call engineer sees the alert, opens the dashboard, checks whether it is a blip, decides it is not.
  4. Finds the previous image tag, runs the rollback.
  5. 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:

  1. 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.
  2. 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.
  3. 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.

Was this useful?

You might also enjoy

More posts on similar topics

The Admission Gate Denied an Image Built from a Fork

Summary The enforcement phase of a supply-chain hardening program denied 23 pods in its first six weeks. Most were rollout tail: twenty stale base images, two images built by hand on a developer l

#Postmortem#SLSA#Supply Chain+3 tags
read more

Two Outages Where We Told Envoy Something We Did Not Mean

Summary Did the sidecars cause outages? Two, both self-inflicted, and both configuration rather than software. One was a DestinationRule ordering mistake. The other was a PeerAuthentication sc

#Postmortem#Service Mesh#Istio+2 tags
read more

Three Dashboards Reported Zero Revenue, and Every Job Exited 0

Summary The failure mode that finally forced the pipeline rewrite was mundane. A vendor changed an SFTP filename. One job silently produced a zero-row file, six downstream jobs consumed that file

#Postmortem#Cron#SQS+3 tags
read more

A Regional Control-Plane Failure Took a Payments API Offline

Summary A payments API that moves real money had run in a single AWS region for years. A regional control-plane incident took the whole service offline for a few hours. There was no second region

#Postmortem#AWS#Multi Region+3 tags
read more

A Resignation, and Nine Days to Answer One Question

Summary This incident did not start with a security review. It started with a resignation. A senior engineer gave notice, and someone asked the reasonable question of what they could still log in

#Postmortem#Vault#Secrets+2 tags
read more

Three Weeks of "Sometimes Doesn't Load", While p50 Stayed Green

Summary The complaint that started this was not about speed. It was a support ticket saying the dashboard "sometimes doesn't load", from a customer whose account was roughly forty times larger tha

#Postmortem#Latency#Caching+3 tags
read more

6 related posts