← Back to Playbooks
    SEV-2Infrastructure

    Kubernetes Node Failure Playbook

    Nodes unreachable, pods evicted, capacity reduced. Kubernetes is supposed to self-heal, but when nodes disappear faster than the scheduler can react, you get cascading pod evictions and capacity crunches that need human intervention. This playbook covers every diagnostic angle - from initial triage through deep node-level forensics, networking validation, storage recovery, and cluster-wide capacity management.

    Operator's Field Notes

    Jeremy Martinez · Incident Commander | Principal Site Reliability Engineer

    "The most dangerous Kubernetes node failures aren't the ones where a node dies suddenly. Those are obvious and the scheduler handles them. The dangerous ones are the slow deaths - nodes that are technically Ready but performing terribly. Memory pressure that hasn't crossed the eviction threshold. A degraded disk that's causing 10-second I/O waits. A network partition that only affects some pods. Your monitoring says the node is healthy. Your customers say otherwise."

    "I've seen teams spend 45 minutes debugging application-level issues that were actually caused by a single node with a failing NVMe drive. The pod was Running, health checks were passing (because they only checked the app, not I/O), but every request that landed on that node took 8 seconds instead of 80 milliseconds. The fix was cordoning one node. The lesson was: always check the infrastructure layer before going deep on application code."

    NODE FAILURE SYMPTOMS MATRIX

    Obvious Failures

    • • Nodes reporting NotReady status
    • • Mass pod evictions and rescheduling events
    • • Service endpoints disappearing from kubectl get endpoints
    • • PodDisruptionBudget violations blocking deployments
    • • Persistent volume detachment warnings
    • • Cluster autoscaler scaling events in rapid succession

    Subtle / Hidden Failures

    • • Node is Ready but latency from pods on that node is 10x
    • • MemoryPressure or DiskPressure conditions without eviction
    • • Clock skew causing TLS failures and log timestamp drift
    • • DNS resolution intermittently failing on specific nodes
    • • Kubelet reporting healthy but not scheduling new pods
    • • Network policy changes silently dropping traffic

    First 5 Minutes: Kubernetes Triage

    The first five minutes of a node failure are about answering three questions: How many nodes are affected? Is the cluster self-healing? And is there enough remaining capacity to absorb the displaced workloads? Everything else - root cause, permanent fixes, postmortem actions - can wait.

    0-30s

    Assess node health and scope

    kubectl get nodes -o wide - How many are NotReady? Which availability zones? Are they all the same instance type? Same node group? This immediately tells you if it's a single node, an AZ issue, or a cluster-wide event.

    30-90s

    Check pod displacement and pending workloads

    kubectl get pods --all-namespaces --field-selector status.phase!=Running - What's Pending? What's been evicted? Are critical services (databases, payment, auth) affected? Sort by namespace to quickly assess blast radius.

    90s-2m

    Verify cloud provider instance status

    Check EC2 console (Instance Status Checks), GCE VM details, or Azure VM health. Is this a spot/preemptible instance reclaim? An instance type retirement? Check the cloud provider's status page for region/AZ-level issues.

    2-3min

    Assess remaining capacity

    kubectl top nodes - How much CPU/memory headroom exists on healthy nodes? If you've lost 30% of capacity and were running at 60% utilization, you're now at 86%. That's too close to the edge. Calculate whether remaining nodes can absorb the evicted pods.

    3-4min

    Check cluster autoscaler and node scaling

    Is the autoscaler responding? Is it blocked? Check for scale-up errors: kubectl -n kube-system logs -l app=cluster-autoscaler --tail=100. Common blockers: instance type unavailable, quota limits, subnet IP exhaustion.

    4-5min

    Manual intervention if self-healing is insufficient

    If autoscaler is slow or blocked, manually scale node groups. For EKS: aws autoscaling set-desired-capacity. For GKE: gcloud container clusters resize. Don't wait for automation if you're in a capacity crunch.

    Comprehensive Node Diagnostics

    These diagnostic commands are organized by investigation layer. Start with the cluster-level view to understand scope, then drill into individual nodes. Each section includes what to look for and how to interpret the output.

    1. Cluster-Level Node Status

    # Full node status with OS, kernel, container runtime, and IPs
    kubectl get nodes -o wide
    
    # Node conditions matrix - shows Ready, MemoryPressure, DiskPressure, 
    # PIDPressure, NetworkUnavailable for every node
    kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{range .status.conditions[*]}{.type}={.status}{"\t"}{end}{"\n"}{end}'
    
    # Nodes with taints (shows cordoned nodes, spot/preemptible markers)
    kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.taints[*].key}={.spec.taints[*].effect}{"\n"}{end}'
    
    # Nodes by instance type and AZ (helps identify AZ-specific failures)
    kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.metadata.labels.node\.kubernetes\.io/instance-type}{"\t"}{.metadata.labels.topology\.kubernetes\.io/zone}{"\n"}{end}'
    
    # Count nodes by status
    kubectl get nodes --no-headers | awk '{print $2}' | sort | uniq -c
    
    # Resource allocation vs capacity across all nodes
    kubectl top nodes
    kubectl describe nodes | grep -A 6 "Allocated resources"

    What to look for: Nodes in NotReady that share the same AZ, instance type, or node group. MemoryPressure=True or DiskPressure=True on nodes that are still Ready - these are about to fail. Nodes with NoSchedule taints that shouldn't have them.

    2. Individual Node Deep Dive

    # Full node description - conditions, capacity, allocatable, events
    kubectl describe node <node-name>
    
    # Node conditions specifically (last heartbeat, transition time, reason)
    kubectl get node <node-name> -o jsonpath='{range .status.conditions[*]}{.type}{"\t"}{.status}{"\t"}{.lastHeartbeatTime}{"\t"}{.reason}{"\t"}{.message}{"\n"}{end}'
    
    # All pods on a specific node (see what workloads are affected)
    kubectl get pods --all-namespaces -o wide --field-selector spec.nodeName=<node-name>
    
    # Resource requests vs limits on a specific node
    kubectl describe node <node-name> | grep -A 20 "Non-terminated Pods"
    
    # Node events (sorted by time - look for OOMKills, evictions, kubelet errors)
    kubectl get events --field-selector involvedObject.name=<node-name> --sort-by=.metadata.creationTimestamp
    
    # Check kubelet status (if node is accessible via SSH)
    ssh <node-ip> "systemctl status kubelet"
    ssh <node-ip> "journalctl -u kubelet --since '30 minutes ago' --no-pager | tail -100"
    
    # Check container runtime status
    ssh <node-ip> "systemctl status containerd"    # or dockerd
    ssh <node-ip> "crictl ps -a | head -20"        # list containers via CRI
    ssh <node-ip> "crictl pods | head -20"         # list pod sandboxes

    What to look for: LastHeartbeatTime more than 40s ago means kubelet isn't reporting. Conditions with Reason: "KubeletNotReady" or "NodeStatusUnknown". Events showing "NodeNotReady", "Rebooted", or "SystemOOM". Container runtime errors in crictl output.

    3. CPU, Memory, and Process Diagnostics

    # --- On the node via SSH ---
    
    # Overall system resource usage
    top -bn1 | head -20
    free -h
    vmstat 1 5
    
    # CPU breakdown - is it system, user, iowait, or steal?
    mpstat -P ALL 1 3
    
    # High CPU steal indicates noisy-neighbor or cloud provider throttling
    # > 5% steal is concerning, > 20% is a problem
    
    # Memory pressure details
    cat /proc/meminfo | grep -E "MemTotal|MemFree|MemAvailable|Buffers|Cached|SwapTotal|SwapFree"
    cat /proc/pressure/memory    # PSI (Pressure Stall Information)
    
    # OOM killer history - did the kernel kill processes?
    dmesg | grep -i "oom" | tail -20
    journalctl -k --since "1 hour ago" | grep -i "oom\|killed process"
    
    # Check cgroup memory limits for containers
    find /sys/fs/cgroup/memory -name "memory.limit_in_bytes" -exec sh -c 'echo "$1: $(cat $1)"' _ {} \;
    
    # Process tree - what's actually running?
    ps auxf --sort=-%mem | head -30
    ps auxf --sort=-%cpu | head -30
    
    # Check for zombie processes (can indicate container runtime issues)
    ps aux | awk '{print $8}' | grep -c Z

    What to look for: CPU steal > 5% (cloud provider issue). iowait > 20% (disk bottleneck). SwapFree significantly less than SwapTotal (memory pressure). OOM kills in dmesg. Zombie processes > 0 (container runtime issues).

    4. Disk and I/O Diagnostics

    # --- On the node via SSH ---
    
    # Disk space - Kubernetes will evict pods when disk pressure hits threshold
    df -h
    df -i   # inode usage - can run out of inodes before disk space
    
    # Kubelet's disk pressure thresholds (default: nodefs 10%, imagefs 15%)
    # Check kubelet config for eviction thresholds:
    cat /var/lib/kubelet/config.yaml | grep -A 5 eviction
    
    # I/O statistics - are disks saturated?
    iostat -xz 1 5
    
    # Key metrics from iostat:
    # %util > 90%: disk is saturated
    # await > 20ms: I/O latency is high (for SSD; > 100ms for HDD)
    # r_await / w_await: read vs write latency breakdown
    
    # I/O pressure stall information (PSI)
    cat /proc/pressure/io
    
    # What's consuming I/O? (requires iotop or similar)
    iotop -obn 1 | head -20
    
    # Check for disk errors
    dmesg | grep -iE "error|fail|i/o|blk_update|EXT4-fs" | tail -20
    smartctl -a /dev/nvme0n1    # NVMe health (if available)
    smartctl -a /dev/sda         # SATA/SAS health
    
    # Container filesystem usage
    crictl stats | sort -k4 -rn | head -10
    
    # Check ephemeral storage usage per pod
    kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{.metadata.namespace}{"/"}{.metadata.name}{"\t"}{range .spec.containers[*]}{.resources.limits.ephemeral-storage}{"\t"}{end}{"\n"}{end}'

    What to look for: %util > 90% (disk saturated). await > 50ms on SSD (I/O latency). Inode usage > 90% (can't create new files even with free space). EXT4 errors or NVMe errors in dmesg. Container images filling up imagefs.

    5. Network and Connectivity Diagnostics

    # --- Kubernetes-level network checks ---
    
    # Check if node can reach the API server
    kubectl get --raw /healthz
    
    # Service endpoint health - are endpoints being removed?
    kubectl get endpoints -A | grep -v "none"
    kubectl get endpointslices -A
    
    # DNS resolution test from a debug pod
    kubectl run dns-test --rm -it --image=busybox --restart=Never -- nslookup kubernetes.default
    kubectl run dns-test --rm -it --image=busybox --restart=Never -- nslookup <your-service>.default.svc.cluster.local
    
    # CoreDNS health
    kubectl -n kube-system get pods -l k8s-app=kube-dns
    kubectl -n kube-system logs -l k8s-app=kube-dns --tail=50
    
    # --- On the node via SSH ---
    
    # Network interface status and errors
    ip link show
    ip -s link show   # includes error counters - TX/RX errors, drops
    
    # Check for packet drops and errors
    netstat -s | grep -iE "error|drop|overflow|retrans"
    cat /proc/net/dev | column -t
    
    # Connection tracking table (can fill up and drop new connections)
    conntrack -C          # current count
    conntrack -S          # stats including drops
    cat /proc/sys/net/netfilter/nf_conntrack_max
    cat /proc/sys/net/netfilter/nf_conntrack_count
    
    # If conntrack count is near max, new connections are silently dropped
    # This is a common cause of intermittent networking issues in K8s
    
    # IPtables/nftables rules (kube-proxy rules)
    iptables -t nat -L -n --line-numbers | wc -l   # thousands is normal
    iptables -t nat -L -n | grep -c "KUBE-SEP"     # service endpoints
    
    # CNI plugin health
    ls /etc/cni/net.d/
    cat /var/log/calico/cni/*.log 2>/dev/null | tail -20   # Calico
    ls /var/run/cilium/ 2>/dev/null                          # Cilium
    cilium status 2>/dev/null                                # Cilium health
    
    # Network PSI
    cat /proc/pressure/cpu    # CPU pressure can cause network processing delays
    
    # MTU issues (can cause intermittent failures with large packets)
    ip link show | grep mtu

    What to look for: RX/TX errors or drops on interfaces. Conntrack count near nf_conntrack_max (silent connection drops). CoreDNS errors or timeouts. CNI plugin errors. MTU mismatches between node and pod networks.

    6. Kubelet and Control Plane Communication

    # --- On the node via SSH ---
    
    # Kubelet logs - the most important log for node issues
    journalctl -u kubelet --since "30 minutes ago" --no-pager | tail -200
    
    # Common kubelet error patterns to grep for:
    journalctl -u kubelet --since "30 min ago" | grep -iE "error|fail|timeout|refused|PLEG"
    
    # PLEG (Pod Lifecycle Event Generator) issues
    # "PLEG is not healthy" means kubelet can't keep up with container events
    journalctl -u kubelet --since "30 min ago" | grep -i "PLEG"
    
    # Kubelet healthcheck
    curl -sk https://localhost:10250/healthz
    curl -sk https://localhost:10248/healthz   # read-only port
    
    # Node lease - how kubelet reports heartbeat to the API server
    kubectl get lease -n kube-node-lease <node-name> -o yaml
    
    # API server connectivity from the node
    curl -sk https://<api-server>:6443/healthz
    curl -sk --connect-timeout 5 https://<api-server>:6443/version
    
    # Certificate issues (kubelet → API server TLS)
    openssl s_client -connect <api-server>:6443 </dev/null 2>/dev/null | openssl x509 -noout -dates
    ls -la /var/lib/kubelet/pki/
    
    # Time synchronization (clock skew breaks TLS and lease renewals)
    timedatectl status
    chronyc tracking 2>/dev/null || ntpq -p 2>/dev/null

    What to look for: PLEG errors (container runtime too slow). "use of closed network connection" (API server connectivity lost). Certificate expiry. Clock skew > 5 seconds (breaks TLS). Node lease renewalTime older than 40 seconds.

    7. Cluster Autoscaler and Scheduling

    # Cluster autoscaler logs
    kubectl -n kube-system logs -l app=cluster-autoscaler --tail=100
    
    # Common autoscaler issues:
    kubectl -n kube-system logs -l app=cluster-autoscaler | grep -iE "error|fail|unable|quota|subnet"
    
    # Autoscaler status configmap (shows scaling decisions)
    kubectl -n kube-system get cm cluster-autoscaler-status -o yaml
    
    # Pending pods (what can't be scheduled?)
    kubectl get pods --all-namespaces --field-selector status.phase=Pending
    
    # Why are pods pending? Check scheduler events
    kubectl get events --all-namespaces --sort-by=.metadata.creationTimestamp | grep -i "failedscheduling"
    
    # Common scheduling failure reasons:
    # - Insufficient cpu/memory
    # - Node affinity/anti-affinity rules can't be satisfied
    # - Pod topology spread constraints
    # - Taints not tolerated
    # - PV zone affinity
    
    # Check PodDisruptionBudgets (can block node drains and scaling)
    kubectl get pdb --all-namespaces
    kubectl get pdb --all-namespaces -o jsonpath='{range .items[*]}{.metadata.namespace}{"/"}{.metadata.name}{"\t"}allowed:{.status.disruptionsAllowed}{"\t"}current:{.status.currentHealthy}{"/"}{.status.desiredHealthy}{"\n"}{end}'
    
    # Node group / managed instance group status
    # AWS:
    aws autoscaling describe-auto-scaling-groups --query 'AutoScalingGroups[*].[AutoScalingGroupName,DesiredCapacity,MinSize,MaxSize,Instances[*].HealthStatus]'
    # GCP:
    gcloud compute instance-groups managed list-instances <group-name> --zone <zone>

    What to look for: "could not find similar node group" (autoscaler can't scale up). Quota or subnet IP exhaustion. PDBs with disruptionsAllowed=0 blocking recovery. FailedScheduling events with "Insufficient cpu" or "didn't match pod topology spread constraints".

    Diagnostic Anti-Patterns I've Seen

    Jeremy Martinez · Incident Commander | Principal Site Reliability Engineer

    "Trusting kubectl get nodes too much." A node can be Ready and still be a disaster. Ready means kubelet is responding to the API server. It doesn't mean the node can run your workloads well. I've seen nodes with 98% iowait, 100% conntrack table utilization, and failing DNS resolution - all while showing Ready. Always combine kubectl top nodes with the conditions matrix.

    "Ignoring conntrack." This is the #1 most under-diagnosed Kubernetes networking issue. When the conntrack table fills up, new connections are silently dropped. No errors in application logs, no network errors visible to the pod. Just intermittent connection failures that look like application bugs. Always check conntrack -C vsnf_conntrack_max.

    "Forgetting about PLEG." When kubelet's Pod Lifecycle Event Generator falls behind, it means the container runtime is slow. Pods get stuck in Terminating, new pods hang in ContainerCreating, and health checks start failing. The node looks sick at the application layer, but the real issue is the container runtime (often caused by disk I/O).

    Node Failure Scenarios and Response Strategies

    Not all node failures are equal. A single node dying is routine. Multiple nodes in the same AZ is a capacity event. Cluster-wide failures are existential. Your response strategy should match the severity.

    Single Node Failure

    Usually handled automatically by Kubernetes. The node controller marks the node NotReady after ~40 seconds of missed heartbeats, then begins evicting pods after the default toleration period (5 minutes). Pods are rescheduled to healthy nodes if capacity exists. This is the scenario Kubernetes was designed to handle.

    IC Actions
    • • Monitor pod rescheduling progress: kubectl get pods -w
    • • Verify service endpoints recover and traffic rebalances
    • • Check PV reattachment for StatefulSets (can take 6+ minutes with EBS)
    • • Confirm replacement node joins the cluster (if autoscaler is configured)
    • • Investigate root cause: instance terminated? OOM? Hardware failure?
    • • Check if any pods had local storage (emptyDir) that was lost
    Risk Assessment

    Low risk if the cluster has capacity headroom and workloads have proper redundancy.Higher risk if the failed node was running singleton pods (replicas=1), pods with node affinity that can't be satisfied elsewhere, or StatefulSet pods with PVs that need reattachment. Check for PodDisruptionBudgets that might block rescheduling.

    Multiple Node Failure (Same AZ)

    Often indicates an availability zone-level issue from the cloud provider. Significant capacity reduction that may overwhelm remaining nodes. The cluster autoscaler may try to launch replacements in the same failing AZ - you may need to override this.

    IC Actions
    • • Check cloud provider AZ status immediately
    • • Scale node groups in healthy AZs to absorb displaced workloads
    • • Prioritize critical workloads using pod priority classes
    • • Consider reducing replicas of non-critical services to free capacity
    • • Verify pod anti-affinity rules are spreading across remaining AZs
    • • Cordon any nodes in the failing AZ that are still Ready but degraded
    • • Update PV zone affinity if stateful workloads need to move AZs
    Risk Assessment

    Medium-High risk. Remaining capacity may not support all workloads. Pods may stay Pending indefinitely if resource requests exceed available capacity. PersistentVolumes in the failed AZ cannot be mounted in a different AZ (EBS/PD are zonal). StatefulSets with zonal PVs will be stuck until the AZ recovers or PVs are manually migrated.

    Cluster-Wide Node Failures

    Control plane or infrastructure-level issue. Multiple AZs affected. This is beyond Kubernetes self-healing capabilities. You are now in disaster recovery mode. Check if the control plane itself is healthy - if etcd or the API server is down, you can't even use kubectl to diagnose.

    IC Actions
    • • Declare SEV-1 - this is a full outage
    • • Check control plane health: API server, etcd, scheduler, controller-manager
    • • If using managed K8s (EKS/GKE/AKS), open a cloud support case immediately
    • • Activate DR/failover cluster if available
    • • Verify etcd health: etcdctl endpoint health
    • • Check if kubectl itself works (API server reachability)
    • • Prepare for full cluster rebuild if control plane is unrecoverable
    • • Communicate early and often - this will take time
    Risk Assessment

    Critical. Full service outage likely. If the control plane is down, self-healing stops entirely. Existing pods continue running (kubelet operates independently) but no new scheduling, no scaling, no deployments. If nodes are also failing, running pods will die without replacement. Consider failing over to an alternate cluster or region if recovery time is uncertain.

    Stateful Workload Recovery

    STATEFUL WORKLOADS NEED SPECIAL ATTENTION

    StatefulSets with PersistentVolumes don't just reschedule like stateless pods. The PV must be detached from the failed node first (can take 6+ minutes with AWS EBS, longer if the node is unreachable and the volume attachment is stuck). Databases may need crash recovery. Replication may need to catch up. Force-deleting pods without understanding volume state can cause data corruption.

    1

    Check VolumeAttachment status

    kubectl get volumeattachment - Are volumes stuck in 'attaching' or 'detaching'? If a VolumeAttachment is stuck because the node is unreachable, you may need to delete the VolumeAttachment object manually (after confirming the node is truly dead and won't come back).

    2

    Assess if force-delete is safe

    Only force-delete pods (kubectl delete pod --grace-period=0 --force) if the node is confirmed permanently dead. If the node might come back, force-deleting risks two pods mounting the same PV simultaneously, causing filesystem corruption. Check cloud console to confirm instance state.

    3

    Verify PV health after reattachment

    After a PV moves to a new node, check filesystem integrity. For databases, check that the data directory is intact, WAL files are consistent, and the database starts without errors. Run fsck if ext4, or xfs_repair if XFS, before mounting if you suspect unclean unmount.

    4

    Monitor replication catch-up

    For replicated databases (PostgreSQL, MySQL, MongoDB), check replication lag after the failover pod starts. The replacement may need to replay WAL logs or oplog entries. This can take minutes to hours depending on the amount of data written during the outage.

    5

    Check backup recency

    If PV data is corrupted or lost, you'll need to restore from backup. Know your RPO (Recovery Point Objective). When was the last backup? How much data would be lost? Have you ever tested a backup restore?

    6

    Update StatefulSet if node is permanently gone

    If the failed node was in an AZ that's no longer available, you may need to create a new PV in a healthy AZ, restore data from backup, and update the StatefulSet's volumeClaimTemplates. This is a complex, manual process.

    Stateful Workload Diagnostic Commands

    # Check all PersistentVolumeClaims and their status
    kubectl get pvc --all-namespaces
    kubectl get pv
    
    # Volume attachments - look for stuck detach/attach operations
    kubectl get volumeattachment
    kubectl describe volumeattachment <attachment-name>
    
    # StatefulSet status - are all replicas ready?
    kubectl get statefulsets --all-namespaces
    
    # Force-delete a stuck pod (ONLY if node is confirmed dead)
    # WARNING: Can cause data corruption if node comes back
    kubectl delete pod <pod-name> -n <namespace> --grace-period=0 --force
    
    # Manually delete stuck VolumeAttachment (DANGEROUS - confirm node is dead)
    kubectl delete volumeattachment <attachment-name>
    
    # Check if EBS volume is still attached (AWS)
    aws ec2 describe-volumes --volume-ids <vol-id> --query 'Volumes[*].Attachments'
    
    # For database pods - check data integrity after failover
    kubectl exec -it <db-pod> -- pg_isready                      # PostgreSQL
    kubectl exec -it <db-pod> -- mysql -e "SHOW SLAVE STATUS\G"  # MySQL
    kubectl exec -it <db-pod> -- mongosh --eval "rs.status()"    # MongoDB

    Capacity Management During a Node Outage

    When you lose nodes, the immediate question is: can the remaining cluster absorb the workload? Here's how to assess and manage capacity in real-time during an incident.

    Quick Capacity Math

    Before outage: 10 nodes × 8 CPU = 80 CPU total

    Running at 60% utilization: 48 CPU used

    2 nodes fail: 64 CPU remaining

    New utilization: 48/64 = 75%

    75% might work - but if any pods have resource limits, you may hit node-level OOM before cluster-level metrics look bad. And the evicted pods from the failed nodes add to the demand.

    Emergency Capacity Actions

    • 1. Scale up node groups - don't wait for autoscaler
    • 2. Reduce non-critical replicas - scale down staging, batch jobs, dev workloads
    • 3. Adjust pod priority - ensure critical pods preempt non-critical ones
    • 4. Temporarily relax resource requests - if you know pods can run with less (risky)
    • 5. Drain nodes with non-critical workloads - consolidate critical pods on healthy nodes
    • 6. Consider larger instance types - scale up, not just out

    Post-Incident Questions

    After the immediate crisis is resolved, these questions drive the postmortem and help prevent recurrence. Node failures are often symptoms of deeper infrastructure or configuration gaps.

    ?

    Why did the node(s) fail? Hardware failure, cloud provider issue, OOM kill, or Kubernetes misconfiguration?

    ?

    Did the cluster autoscaler respond appropriately? If not, what blocked it? (quota, subnet IP exhaustion, instance availability)

    ?

    Were PodDisruptionBudgets configured correctly? Did they block recovery or help maintain availability?

    ?

    Did we have enough capacity headroom across AZs? What's the right headroom target?

    ?

    Are pod anti-affinity rules spreading critical workloads across nodes and AZs properly?

    ?

    Do we need pod priority classes to ensure critical workloads get scheduled first during capacity crunches?

    ?

    Were stateful workloads (databases, queues) adequately protected with proper PV configuration and backup/restore procedures?

    ?

    Could we detect this type of failure faster? Do we need external synthetic monitoring in addition to internal checks?

    ?

    Are our container resource requests and limits set appropriately, or are we over/under-provisioning?

    ?

    Do we have a documented and tested procedure for manual intervention when autoscaler fails?

    Prevention Checklist

    Most Kubernetes node failures are survivable without customer impact - if the cluster is configured correctly. This checklist covers the configuration and operational practices that make node failures routine instead of incidents.

    Cluster Configuration

    • ☐ Multi-AZ node groups with at least 3 AZs
    • ☐ Cluster autoscaler configured with appropriate min/max
    • ☐ Pod anti-affinity for critical workloads
    • ☐ PodDisruptionBudgets on all production workloads
    • ☐ Pod priority classes defined and assigned
    • ☐ Node-level monitoring (not just pod-level)
    • ☐ Conntrack max increased from default for high-traffic clusters

    Operational Readiness

    • ☐ Documented runbook for manual node scaling
    • ☐ Tested PV failover procedure for stateful workloads
    • ☐ Backup and restore tested for all databases
    • ☐ External DNS-based monitoring (catches AZ-level issues)
    • ☐ Capacity headroom alert at 70% utilization
    • ☐ Regular chaos engineering / node failure drills
    • ☐ DR cluster or multi-region failover capability

    Related Resources