An alert fires: p99 latency > 800ms. No stack trace, no obvious cause, and a dashboard that’s all red. The difference between a 10-minute fix and a 2-hour outage is having a workflow instead of a hunch.
This is the layered checklist I run every time — application, then platform, then the boring infrastructure underneath — so I never skip a layer or chase the wrong one. The commands are copy-pasteable.
Start from the signal
Before touching the cluster, read the alert literally. What metric, what threshold, since when, and which service? A latency alert and an error-rate alert send you down completely different paths.
- Scope it: one pod, one node, one zone — or everything?
- Correlate it: did a deploy, a config change, or a traffic spike line up with the start time?
- Quantify it: 1% of requests or 100%? Degraded, or down?
Work the layers
Production problems live in layers, and they love to hide one layer below where they surface. A slow API might be a slow query; a slow query might be a saturated node; a saturated node might be a noisy neighbour. Work top-down and confirm each layer before you descend.
The symptom is almost never the cause. Confirm what a layer is actually doing before you blame the layer beneath it.
Application layer
Start where the signal is. Pull recent logs, check the pod’s own metrics, and look for the obvious: restarts, OOMKills, and error spikes that began at the alert time.
kubectl get pods -l app=api --sort-by=.status.containerStatuses[0].restartCount
kubectl top pods -l app=api
kubectl logs deploy/api --since=15m --previous | grep -iE 'error|panic|timeout'
kubectl describe pod <pod> | sed -n '/Events/,$p'
If you see OOMKilled or a climbing restart count, you’ve found your layer — memory or a crash loop — and the next question is why, not where.
Platform layer
If the app looks healthy but slow, drop a layer. Check node pressure, pending pods, and whether the scheduler is fighting resource limits.
kubectl describe nodeforMemoryPressure/DiskPressureconditions.kubectl get events --sort-by=.lastTimestampfor evictions and failed schedules.- HPA status — is it pinned at
maxReplicas, or flapping every few minutes?
Confirm and capture
Once you have a candidate cause, prove it: revert the change, scale the resource, or roll back the deploy — and watch the original signal recover. If it doesn’t, you found a symptom, not the cause. Keep going.
Then write it down. A two-line note in the incident channel — signal, cause, fix — is what turns a 2am scramble into next month’s runbook.