Skip to main content

EKS Operational Runbooks

Operational procedures, troubleshooting guides, and incident response playbooks for AWS EKS deployments.

Quick Reference

Cluster Health

Check cluster and node status

Pod Issues

Diagnose and fix pod problems

Networking

Resolve connectivity problems

Database

RDS backup, restore, and troubleshooting

Cluster Health Checks

Daily Health Check

Automated Health Checks


Pod Troubleshooting

Runbook: Pod in CrashLoopBackOff

1

Identify the issue

2

Common causes

Application errors:
  • Database connection failed
  • Missing environment variables
  • Config file not found
Resource limits:
  • Out of memory (OOMKilled)
  • CPU throttling
Permission issues:
  • Can’t read secrets
  • IRSA role misconfigured
3

Fix based on cause

4

Verify fix

Runbook: Pod Pending (Can’t Schedule)

1

Check why pod is pending

Common reasons:
  • Insufficient CPU
  • Insufficient memory
  • No nodes available matching node selector
  • Taint toleration not satisfied
2

Check Cluster Autoscaler

3

Manual scaling if needed

4

Check for taint issues

Runbook: Image Pull Errors

1

Identify image pull error

Error types:
  • ImagePullBackOff: Image not found or no permission
  • ErrImagePull: Network issue or registry down
2

Verify image exists in ECR

3

Check VPC CNI IRSA permissions

4

Check VPC endpoints

5

Test manual pull


Networking Issues

Runbook: Pods Can’t Reach Internet

1

Verify NAT Gateway

2

Test from pod

3

Check security groups

Runbook: Pod-to-Pod Communication Failing

1

Check NetworkPolicies

2

Test connectivity

3

Check VPC CNI


RDS Operations

Runbook: RDS Backup and Restore

1

Verify automated backups

2

Create manual snapshot

3

Restore from snapshot

4

Point application to restored DB

Runbook: RDS Performance Issues

1

Check Performance Insights

2

Check slow queries

3

Check connections

4

Scale up if needed


ElastiCache Operations

Runbook: Redis Connection Issues

1

Verify Redis is running

2

Test connection from pod

3

Check security group

4

Check application logs

Runbook: Redis Failover Testing

1

Trigger manual failover

2

Verify application resilience

3

Check metrics


Cluster Autoscaler Operations

Runbook: Cluster Autoscaler Not Scaling

1

Check autoscaler logs

2

Verify IRSA permissions

3

Check node group limits

4

Check for pending pods


Monitoring & Alerts

CloudWatch Alarms

Critical alarms to configure:

Incident Response

Runbook: Complete Cluster Outage

1

Assess impact

2

Check control plane

3

Check nodes

4

Recovery options

AWS handles control plane recovery automaticallyWait 5-10 minutes for AWS to recover control plane. If persists > 15 minutes, contact AWS Support.
5

Post-incident review

  • Document timeline
  • Analyze CloudWatch logs
  • Review metrics during incident
  • Update runbooks based on learnings

Disaster Recovery

RTO/RPO Targets

Disaster Recovery Test Plan

1

Monthly: Snapshot restore test

  1. Create test RDS instance from latest snapshot
  2. Verify data integrity
  3. Delete test instance
2

Quarterly: Full cluster rebuild

  1. Deploy to staging using Terraform
  2. Restore latest RDS backup
  3. Verify application functionality
  4. Destroy staging cluster
3

Annually: Multi-region failover

  1. Deploy infrastructure in secondary region
  2. Restore cross-region RDS backup
  3. Test application in secondary region
  4. Document failover procedures

EKS Production Guide

Complete deployment guide

Terraform AWS

Infrastructure documentation

AWS Security

Security hardening guide

Cost Optimization

Cost optimization strategies