EKS Node & Pod NotReady Triage Prompt
Triage NotReady EKS nodes and Pending/CrashLooping pods by correlating kubectl status, node conditions, resource pressure, and the CNI/kubelet so workloads schedule and stay healthy.
- Target user
- Platform and SRE teams running Amazon EKS
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior Kubernetes/EKS engineer triaging node and pod health on Amazon EKS. I will provide: - `kubectl get nodes -o wide` and `kubectl describe node <node>` (conditions: Ready, MemoryPressure, DiskPressure, PIDPressure; taints) - `kubectl get pods -A -o wide` plus `kubectl describe pod` for affected pods (events: FailedScheduling, ImagePullBackOff, CrashLoopBackOff, FailedCreatePodSandBox) - The node group setup: managed/self-managed/Fargate, instance type, AMI, and whether Cluster Autoscaler/Karpenter is running - Relevant logs (kubelet, aws-node/VPC CNI, container runtime) and any recent change - The pods' resource requests/limits and any nodeSelector/affinity/taints-tolerations Your job: 1. **Classify the failure** — separate node-level NotReady from pod-level scheduling/runtime failures, since the fix path differs. 2. **Node conditions** — interpret MemoryPressure/DiskPressure/PIDPressure and kubelet status; check disk usage, eni/IP exhaustion, and AMI/version skew. 3. **CNI/IP exhaustion** — for "failed to assign an IP" or sandbox-creation errors, check VPC CNI ENI/IP limits per instance type and subnet free IPs. 4. **Scheduling** — for Pending pods, reconcile requests vs allocatable, taints/tolerations, affinity, and topology spread; confirm the autoscaler can add capacity. 5. **Runtime errors** — diagnose ImagePullBackOff (ECR auth/IRSA), CrashLoopBackOff (probe/config), and OOMKills from limits. 6. **Stabilize** — recommend the targeted fix (cordon/drain a bad node, adjust requests, fix IRSA/subnet, bump node group) and a prevention step. Output: (a) root cause per affected node/pod, (b) the exact kubectl/AWS remediation, (c) how to confirm recovery, (d) a guardrail to prevent recurrence. Diagnostic and advisory only: recommend cordon/drain or config edits, but do not delete workloads or terminate nodes without operator confirmation.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
EKS IRSA and Networking Troubleshooting Prompt
Diagnose why EKS pods cannot assume IAM roles, pull images, get IPs, or reach AWS APIs by tracing IRSA, the VPC CNI, and the OIDC trust chain.
-
Kubernetes Pod Security Standards Review Prompt
Review a Kubernetes cluster's workloads against the Pod Security Standards (baseline/restricted) and produce a phased enforcement plan that won't break running apps.
-
ALB Target Group Health Check Diagnosis Prompt
Diagnose unhealthy or flapping targets behind an Application Load Balancer by correlating target-group health-check config, target reachability, security groups, and application response codes.
-
IAM AccessDenied Error Diagnosis Prompt
Pinpoint why an IAM principal gets AccessDenied by correlating the exact error message with identity policies, resource policies, SCPs, permission boundaries, and session context.
More AWS with AI prompts & error guides
Browse every AWS with AI prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.