Pending with `0/10 nodes are available: 10 Too many pods.` while CPU and memory are free.
IntermediateTroubleshootingScheduling and Pending Pods
Answer
Likely causes → Nodes hit their maxPods limit (default 110 on kubelet; on EKS with the VPC CNI it is derived from ENI/IP limits, e.g. 17 on t3.medium, 29 on m5.large).
Diagnose →
kubectl get nodes -o custom-columns=NAME:.metadata.name,PODS:.status.allocatable.pods
kubectl get pods -A --field-selector spec.nodeName=ip-10-0-1-5.ec2.internal --no-headers | wc -l
Fix → Use bigger instance types, enable prefix delegation on EKS and raise maxPods, or clean up leftover completed/evicted Pods that still count.
Prevent → Pick instance types by Pod density, not only CPU/RAM; include pods in capacity dashboards.
More on Scheduling and Pending Pods
Pods are Pending with `0/5 nodes are available: 5 Insufficient cpu. preemption: 0/5 nodes are available: 5 No preemption victims found for incoming pod.`Beginner`kubectl top nodes` shows nodes at 20% CPU, yet new Pods fail with `Insufficient cpu`. Explain it to a developer.Beginner`0/4 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }, 3 node(s) had untolerated taint {dedicated: gpu}`.BeginnerA StatefulSet Pod is Pending with `pod has unbound immediate PersistentVolumeClaims`.Beginner`0/3 nodes are available: 3 node(s) didn't match Pod's node affinity/selector.`BeginnerA 6-replica Deployment has 3 Pods Running and 3 Pending: `0/3 nodes are available: 3 node(s) didn't match pod anti-affinity rules`.Intermediate