When a Pod stays stuck in Pending, the Kubernetes scheduler (kube-scheduler) cannot find any worker node that satisfies all of the Pod's resource, taint, affinity, and storage constraints.
30-Second kubectl Diagnosis
# 1. Read the FailedScheduling reason directly from Pod events kubectl describe pod -n | grep -A 12 "Events:" # 2. Check node allocatable vs requested resources kubectl describe nodes | grep -A 5 "Allocated resources:" # 3. Check if a PersistentVolumeClaim is stuck in Pending kubectl get pvc -n 5 Common Causes & How to Unblock Scheduling
Insufficient cpuorInsufficient memory: Your Pod'srequestsexceed what is free on any single node. Remember: scheduling usesrequests, not actual usage. Right-size your requests and verify unit typos (MivsM) with our Kubernetes QoS & Resource Units Checker.Node Taints Without Matching Tolerations: Dedicated GPU or system nodes carry taints (e.g.,
nvidia.com/gpu=present:NoSchedule). Add the matchingtolerationsblock to your Pod spec.Strict
nodeSelector/nodeAffinityMismatch: Check node labels viakubectl get nodes --show-labelsand confirm at least one Ready node matches.Unbound PVC (
pod has unbound immediate PersistentVolumeClaims): Your StorageClass provisioner failed, hit quota, or hasvolumeBindingMode: Immediatewith no available PV.Pod Topology Spread / Anti-Affinity Exhaustion: Running 4 replicas with hard
podAntiAffinityon a 3-node cluster leaves the 4th Pod permanentlyPending. Switch topreferredDuringSchedulingIgnoredDuringExecutionor scale nodes.
Related tools: Sizing Java Pods or Prometheus PVCs? Use our JVM Container Memory Calculator and Prometheus Storage Calculator.
Originally published at OpsHubs. Found it useful? Buy us a coffee ☕.
