---
title: "Postmortem: An All-At-Once Deploy Turned a Careful Rollback Into a Full Outage"
lang: "en"
author: "Mohammad Abu Mattar"
canonical: https://mkabumattar.com/incidents/post/all-at-once-deploy-five-minute-outage
---

[Home](/)›[Incidents](/incidents)›[All Categories](/incidents/categories)›[Reliability](/incidents/categories/reliability)

Incidents

[Next in ReliabilityThree Dashboards Reported Zero Revenue, and Every Job Exited 0](/incidents/post/cron-silent-zero-revenue-failure)

[Reliability](/incidents/categories/reliability)[CI/CD](/incidents/categories/cicd)

# Five Minutes of 500s, Caused by Someone Being Careful

[Mohammad Abu Mattar](/authors/mohammad-abu-mattar)Published: 04 Nov 2026Updated: 11 Nov 202603 Mins read

[Markdown for AI(opens in a new tab)](/incidents/post/all-at-once-deploy-five-minute-outage/index.md "Open the plain-Markdown version of this page, for pasting into an AI tool")

### Five Minutes of 500s, Caused by Someone Being Careful

Contents

[Summary](#summary)[Timeline](#timeline)[Impact](#impact)[Root cause](#root-cause)[Contributing factors](#contributing-factors)[What changed](#what-changed)[Did it hold](#did-it-hold)[What I would do differently](#what-i-would-do-differently)

## [Summary](#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](#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](#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](#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](#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](#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](#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](#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](/case-studies/post/progressive-delivery-argo-rollouts).

Was this useful?

## Tags

[#Postmortem](/incidents/tags/postmortem)[#Progressive Delivery](/incidents/tags/progressive-delivery)[#Argo Rollouts](/incidents/tags/argo-rollouts)[#Kubernetes](/incidents/tags/kubernetes)[#Deployment](/incidents/tags/deployment)

## Share

[Facebook](https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage "Share on Facebook")[Twitter](https://twitter.com/intent/tweet/?text=Five%20Minutes%20of%20500s%2C%20Caused%20by%20Someone%20Being%20Careful&url=https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage "Share on Twitter")[LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage&title=Five%20Minutes%20of%20500s%2C%20Caused%20by%20Someone%20Being%20Careful&summary=A%20release%20went%20out%20at%2014%3A20%20on%20a%20Tuesday.%20Error%20rate%20climbed%20within%20ninety%20seconds.%20A%20diligent%20on-call%20engineer%20ran%20the%20correct%20manual%20rollback.%20Total%20time%20from%20deploy%20to%20recovery%3A%20five%20minutes%20and%20ten%20seconds%2C%20with%20every%20user%20seeing%20500s.&source=https://mkabumattar.com "Share on LinkedIn")[WhatsApp](https://wa.me/?text=Five%20Minutes%20of%20500s%2C%20Caused%20by%20Someone%20Being%20Careful%20https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage "Share on WhatsApp")[Telegram](https://t.me/share/url?url=https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage&text=Five%20Minutes%20of%20500s%2C%20Caused%20by%20Someone%20Being%20Careful "Share on Telegram")[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage&title=Five%20Minutes%20of%20500s%2C%20Caused%20by%20Someone%20Being%20Careful "Share on Reddit")[Hacker News](http://news.ycombinator.com/submitlink?u=https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage&t=Five%20Minutes%20of%20500s%2C%20Caused%20by%20Someone%20Being%20Careful "Share on Hacker News")[Pinterest](https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage&media=&description=A%20release%20went%20out%20at%2014%3A20%20on%20a%20Tuesday.%20Error%20rate%20climbed%20within%20ninety%20seconds.%20A%20diligent%20on-call%20engineer%20ran%20the%20correct%20manual%20rollback.%20Total%20time%20from%20deploy%20to%20recovery%3A%20five%20minutes%20and%20ten%20seconds%2C%20with%20every%20user%20seeing%20500s. "Share on Pinterest")[Email](<mailto:?subject=Five%20Minutes%20of%20500s%2C%20Caused%20by%20Someone%20Being%20Careful&body=Check out this article: https%3A%2F%2Fmkabumattar.com%2Fincidents%2Fpost%2Fall-at-once-deploy-five-minute-outage>)

## Comments

## Continue on this topic

The same subject, covered a different way from the article above.

-   [
    
    ![](/_astro/hero.1iPM9BfY_Oz8iC.webp)
    
    Case Study
    
    ### From Blue-Green to Progressive Delivery with Argo Rollouts
    
    How 27 services moved from all-at-once deploys to canary releases with automated analysis and rollback that fires without a human. What the analysis actually measures, why blue-green was not the answer, and the three failures the canary never caught.
    
    
    
    ](/case-studies/post/progressive-delivery-argo-rollouts)
-   [
    
    ![](/_astro/hero.PyhZu5TH_Z195z6Y.webp)
    
    Quiz
    
    ### CI/CD: Pipeline Automation Essentials
    
    Test your knowledge of CI/CD fundamentals with a quiz covering continuous integration, continuous delivery, pipelines, deployment strategies, automated testing, Infrastructure as Code, and DevOps best practices.
    
    
    
    ](/quizzes/post/cicd-pipeline-essentials-quiz)
-   [
    
    ![](/_astro/hero.D4Pcicvc_Gb0yT.webp)
    
    Dev Tip
    
    ### ArgoCD GitOps: Sync Kubernetes Deployments Automatically from Git
    
    Stop running kubectl apply by hand. This dev tip shows how ArgoCD watches a Git repo and keeps your Kubernetes cluster matching it, with automatic sync, self-heal, and drift detection.
    
    
    
    ](/devtips/post/argocd-gitops-kubernetes-deployments-git-sync)
-   [
    
    Cheatsheet
    
    ### GitHub Actions
    
    The workflow YAML you write over and over. Triggers, jobs and steps, secrets, matrix builds, caching, artifacts, and reusable workflows in one reference.
    
    
    
    ](/cheatsheets/github-actions)

## You might also enjoy

More posts on similar topics

## [The Admission Gate Denied an Image Built from a Fork](/incidents/post/slsa-admission-gate-fork-built-image)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   Security
-   CI/CD

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](/incidents/post/slsa-admission-gate-fork-built-image)

## [Two Outages Where We Told Envoy Something We Did Not Mean](/incidents/post/mesh-config-ordering-outages)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   Reliability
-   Kubernetes

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](/incidents/post/mesh-config-ordering-outages)

## [Three Dashboards Reported Zero Revenue, and Every Job Exited 0](/incidents/post/cron-silent-zero-revenue-failure)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   Reliability
-   Data Engineering

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](/incidents/post/cron-silent-zero-revenue-failure)

## [A Regional Control-Plane Failure Took a Payments API Offline](/incidents/post/single-region-payments-api-regional-outage)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   Reliability
-   Architecture

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](/incidents/post/single-region-payments-api-regional-outage)

## [A Resignation, and Nine Days to Answer One Question](/incidents/post/vault-departure-nine-day-access-audit)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   Security

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](/incidents/post/vault-departure-nine-day-access-audit)

## [Three Weeks of "Sometimes Doesn't Load", While p50 Stayed Green](/incidents/post/p99-tail-latency-three-week-blind-spot)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   Performance
-   Observability

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](/incidents/post/p99-tail-latency-three-week-blind-spot)

6 related posts
