Skip to content
On-call drill

Drill: Friday Deploy

The week's changes shipped at five. You are on call until the weekend starts, and every outage tonight follows a change somebody made.
  • Advanced
  • 30 min
  • Drill
  • Chaos Gym
  • Incident response
  • Configuration
  • Deployment

Overview

It is Friday evening at Kestrel (/opt/kestrel/BIBLE.md). The team has just shipped the week's work: a config template, a database migration, a proxy tweak. The stack is healthy when you arrive: nginx on port 80 in front of the orders API, which runs as kestrel against PostgreSQL.

Tonight every outage follows a change. The fastest question is rarely what is broken? and usually what changed? Configuration files, the processes left running and the database's own view of its sessions all remember what was done to them.

When a probe goes red, declare an incident and pick the area you suspect, then find the cause and repair it. The probes decide when the service is back; you do not mark it fixed. Keep notes as you go, and afterwards write a short postmortem (symptom, root cause, fix); the debrief then shows what was really injected, so you can compare.

What done looks like

  • Trace an outage to the change that caused it
  • Revert or repair a bad configuration value without guessing
  • Keep downtime inside the error budget
  • Write a postmortem that names the change

Before you start

  • Drill: Kestrel On Call first, or equivalent Linux, nginx and PostgreSQL familiarity
  • Assessed drill: no hints; personal best only