Skip to main content
Cluster operationsLesson 14 of 16

Incident Response: From Alert to Postmortem

An alert fires at 02:10 and checkout is failing. Follow the incident from the page to the postmortem: who does what, why you stop the bleeding before you look for the cause, and how the team makes sure it does not happen again.

Checkout errors5%
Severity—
PhaseDetect
Next update—
Incident teamProductionAlertSLO burn rateOn-callprimary responderCommunicationsstatus, stakeholdersIncident commandercoordinates, decidesOperations leadand subject expertsStatus pagepublic updatesCustomersand stakeholderscheckoutDeployment v42orders DBshared databasePostmortemtimeline, actionsErrorsPage
RequestResponse / reportAppears in a later step

What you will learn

  • Acknowledge, declare an incident and choose a severity
  • Incident commander, operations and communications roles
  • Why you mitigate before you look for the root cause
  • Status updates on a fixed cadence
  • Blameless postmortems and action items with owners

Incident phases at a glance​

PhaseGoalWhoCommon mistake
DetectKnow users are hurtingAlerting, on-callPaging on causes (CPU, disk) instead of symptoms
AcknowledgeSomeone owns itOn-callSilent pages that escalate because nobody acked
DeclareStart a coordinated responseOn-call, then ICDeclaring too late, or arguing about severity
CoordinateOne plan, one channelIncident commanderIC fixing things instead of leading
MitigateStop user impactOperations lead, subject expertsDebugging the root cause while users wait
CommunicateKeep everyone informedCommunicationsNo next-update time, so people ask the responders
ResolveConfirm recovery holdsICClosing as soon as one graph looks better
LearnPrevent a repeatWhole teamBlaming a person; action items with no owner

Common mitigations and their limits:

MitigationWhen it helpsWatch out
Roll backA recent deploy or config changeDoes not undo data or schema changes
Fail overOne region, zone or cluster is badThe other side needs enough capacity
Shed loadOverload, retry stormsPick what to drop (low-priority traffic first)
Feature flag offOne feature causes the damageThe flag must exist and be tested
Scale outReal demand above capacityDoes not help when a dependency is the bottleneck

Try it yourself​

# What changed recently? Rollout history and recent events
kubectl rollout history deployment/checkout -n shop
kubectl get events -n shop --sort-by=.lastTimestamp | tail -20

# Mitigate: roll back to the previous revision and wait for it
kubectl rollout undo deployment/checkout -n shop
kubectl rollout status deployment/checkout -n shop

# Record why, so the timeline shows it later
kubectl annotate deployment/checkout -n shop \
kubernetes.io/change-cause="incident 2026-11-27: roll back v42" --overwrite

# Which alerts are firing right now (Alertmanager CLI)
amtool --alertmanager.url=http://localhost:9093 alert query

Check yourself

  1. Checkout errors spike right after a deploy. What should the team do first?
  2. Why should the incident commander avoid making changes in production?
  3. A postmortem finds an engineer ran a risky command. What does a blameless postmortem ask?

Further reading: Google SRE book: Managing Incidents · Google SRE book: Postmortem Culture · PagerDuty Incident Response · PagerDuty Postmortems · SLOs and Alert Design · How Logs, Metrics and Traces Leave a Pod