Error fixKubernetes · 3 min read · Updated 6 Dec 2026

Kubernetes Pod Stuck in Pending (FailedScheduling): How to Fix

A pod stuck in Pending was never placed on a node. Learn to read FailedScheduling events: not enough CPU or memory, taints, node selectors or volume problems.

QUICK ANSWERA pod stays Pending when the scheduler cannot find a node for it, or its volume is not ready. Run kubectl describe pod <pod> and read the FailedScheduling event, for example "0/3 nodes are available: 3 Insufficient cpu". The fix depends on the reason: lower the requests or add nodes, add a toleration for a taint, correct a nodeSelector or affinity, or fix the PersistentVolumeClaim.

Learn this hands-on: covered in Week 5: Scheduling of our 12-week CKA (Certified Kubernetes Administrator) course, with live labs and a trainer to help. See the full syllabus →

Kubernetes pod Pending: FailedScheduling reasons and fixes
Kubernetes pod Pending: FailedScheduling reasons and fixes

What Pending means

Pending is the first phase of a pod. Normally it lasts a second or two while the scheduler picks a node. If it stays Pending, either no node fits the pod, or the pod is waiting for something else, usually a volume.

The scheduler writes the reason as an event on the pod, so you do not have to guess.

Read the scheduler message

kubectl describe pod <pod>
# Events:
#  Warning  FailedScheduling  0/3 nodes are available:
#    1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: },
#    2 Insufficient memory.

Each part of the message counts nodes. Here one node is a control-plane node the pod cannot use, and two workers do not have enough free memory for the pod's request.

Reasons and fixes

MessageMeaningFix
Insufficient cpu / memoryRequests are bigger than free capacity on any nodeLower resources.requests, remove unused pods, or add nodes (cluster autoscaler)
untolerated taintNode is tainted and the pod has no tolerationAdd a matching tolerations entry or schedule elsewhere
didn't match Pod's node affinity/selectornodeSelector or affinity points to labels no node hasCheck kubectl get nodes --show-labels and fix the label or selector
pod has unbound immediate PersistentVolumeClaimsPVC cannot get a volumeCheck the StorageClass and kubectl describe pvc
Too many podsNode reached its max pods limitAdd nodes or raise max pods (CNI/IP limits on EKS)
volume node affinity conflictVolume is in another zone than the free nodesUse WaitForFirstConsumer binding or nodes in that zone

Fix it step by step

  1. Run kubectl describe pod <pod> and copy the FailedScheduling line.
  2. For CPU or memory: compare the pod requests with free capacity: kubectl describe nodes | grep -A5 "Allocated resources".
  3. Requests are what the scheduler counts, not real usage. If requests are too high, lower them to what kubectl top pod shows plus a safe margin.
  4. For taints: kubectl describe node <node> | grep Taints, then add a toleration only if the pod really belongs on that node.
  5. For selectors and affinity: check the labels the pod asks for against kubectl get nodes --show-labels.
  6. For volumes: kubectl get pvc must show Bound. If not, kubectl describe pvc <name> shows why (no StorageClass, quota, zone).
  7. After the fix the scheduler retries on its own; watch with kubectl get pods -w.

Pending is not always the scheduler

  • If the pod has a node assigned (kubectl get pod -o wide shows NODE) but is still not running, it is usually pulling an image or mounting a volume: read the Events.
  • ResourceQuota in the namespace can block pod creation entirely: then the pod is not created at all, and the ReplicaSet shows the error (kubectl describe rs).

Questions

Does the scheduler look at real CPU usage?

No. It adds up the requests of pods already on each node. A node can look idle in kubectl top and still be "full" for scheduling.

Can a pod stay Pending forever?

Yes. Kubernetes keeps retrying, but it will not change your pod spec. Fix the requests, tolerations, selectors or volume, or add capacity.

Will the cluster autoscaler fix Insufficient cpu?

If it is enabled and a new node of an allowed size would fit the pod, yes, after a few minutes. It cannot help if the pod requests more than the biggest node type.