Reference: First Five Minutes of an EKS Incident

Use this when you’ve been paged and don’t yet know which runbook applies. It takes about five minutes, makes no changes, and ends with a runbook to open.

1. Set up and confirm the cluster (30 s)

export CLUSTER=<name> REGION=<region>
export EVIDENCE_DIR=~/incidents/$(date -u +%Y%m%dT%H%MZ)-$CLUSTER; mkdir -p "$EVIDENCE_DIR"
aws sts get-caller-identity --query Arn --output text
kubectl config current-context

If kubectl fails with Unauthorized, go to kubectl Unauthorized. If it times out, check the endpoint from AWS (step 2) before anything else.

2. Control plane (30 s)

aws eks describe-cluster --name "$CLUSTER" --region "$REGION" \
  --query 'cluster.{status:status,version:version,health:health.issues}'
aws eks list-updates --name "$CLUSTER" --region "$REGION" --max-results 5
kubectl get --raw='/readyz?verbose' | tail -3
  • Expect: status: ACTIVE, no health issues, readyz check passed.
  • UPDATING → someone is changing the cluster right now. Find the update: aws eks describe-update --name "$CLUSTER" --update-id <id>.

3. Nodes (30 s)

kubectl get nodes --no-headers | awk '{print $2}' | sort | uniq -c
kubectl get nodes -L topology.kubernetes.io/zone --no-headers | grep -v ' Ready ' | head

Any NotReady → Node NotReady. Note whether they share an AZ.

4. What isn’t running (1 min)

kubectl get pods -A --no-headers | grep -Ev 'Running|Completed' | awk '{print $1, $4}' | sort | uniq -c | sort -rn | head -20
kubectl get pods -n kube-system -o wide | grep -Ev 'Running|Completed'
kubectl get events -A --field-selector type=Warning --sort-by=.lastTimestamp 2>/dev/null | tail -30 \
  | tee "$EVIDENCE_DIR/warning-events.txt"

The most common warning reasons, and where they lead:

Event reason or statusRunbook
FailedCreatePodSandBoxIP exhaustion
FailedScheduling, Pods PendingKarpenter not launching nodes
FailedCreate with failed calling webhookWebhook blocking deployments
FailedAttachVolume, FailedMountEBS volume stuck attaching
CoreDNS Pods not RunningDNS timeouts

5. Add-ons (30 s)

for a in $(aws eks list-addons --cluster-name "$CLUSTER" --region "$REGION" --query 'addons[]' --output text); do
  aws eks describe-addon --cluster-name "$CLUSTER" --region "$REGION" --addon-name "$a" \
    --query 'addon.[addonName,addonVersion,status,length(health.issues)]' --output text
done

Anything other than ACTIVE with 0 issues needs a look: aws eks describe-addon ... --query addon.health.

6. What changed? (1–2 min)

Most incidents follow a change. Look at the last few hours:

# Kubernetes rollouts: every Deployment rollout creates a ReplicaSet,
# every DaemonSet/StatefulSet rollout a ControllerRevision
kubectl get rs -A --sort-by=.metadata.creationTimestamp | tail -10
kubectl get controllerrevisions -A --sort-by=.metadata.creationTimestamp | tail -10
helm list -A --date | tail -10
# AWS-side changes to the cluster
aws cloudtrail lookup-events --region "$REGION" --start-time "$(date -u -d '-6 hours' +%FT%TZ)" \
  --lookup-attributes AttributeKey=EventSource,AttributeValue=eks.amazonaws.com \
  --query 'Events[?!starts_with(EventName,`Describe`) && !starts_with(EventName,`List`)].[EventTime,EventName,Username]' --output table

Also check the deploy channel for your GitOps tool (argocd app list, flux get all -A) and the AWS Health Dashboard for the region.

7. Decide

By now you know whether the problem is the control plane (step 2), nodes (3), specific workloads (4), an add-on (5), or a recent change (6). Open the matching runbook from the handbook index. If a recent change lines up with the start of the incident, rolling it back is usually the fastest mitigation, whatever the root cause turns out to be.

Primary references

Across the wiki