How to Debug a Pending Pod in Kubernetes
A pod stuck in Pending is not broken, it is unscheduled. Learn to read the scheduler's events and find the real cause in minutes: resources, taints, selectors or volumes.

Contents
A pending pod is Kubernetes telling you, politely, that it cannot find a home for your workload. The pod object exists, the API server accepted it, but the scheduler has not bound it to any node. Nothing is crashing, no container has started, and the logs are empty because there is nothing to log yet. That silence is exactly what makes the problem confusing the first time you meet it.
This guide walks through the order in which experienced operators investigate a stuck pod: read the events, check what the pod asks for, compare it with what the nodes offer, and only then start changing things. Each step narrows the search, so you rarely need more than five minutes.
What a pending pod is telling you
A pod moves through phases: Pending, Running, Succeeded or Failed. Pending covers two different situations, and the first job is to tell them apart:
The pod is not scheduled yet. No node was chosen, so
NODEshows<none>inkubectl get pod -o wide.The pod is scheduled but its containers cannot start yet, usually because an image is still being pulled or a volume is still being attached.
The second case resolves itself or turns into a more specific status such as ImagePullBackOff. The first case never resolves on its own, and it is the one this article is about.
Step 1: read the events before anything else
The scheduler explains every failed attempt in an event attached to the pod. Most people skip this and start guessing. Do not guess; ask:
kubectl describe pod web-7d4b9c6f5-x2k8p -n shop
# ...
# Events:
# Type Reason From Message
# Warning FailedScheduling default-scheduler 0/3 nodes are available:
# 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: },
# 2 Insufficient memory. preemption: 0/3 nodes are available.
kubectl get events -n shop --field-selector reason=FailedScheduling --sort-by=.lastTimestampRead the message like a tally. 0/3 nodes are available means every node was rejected, and the rest of the line lists why, grouped by reason. In the example above one node is excluded by a taint and two do not have enough free memory. You now know which two problems to investigate and, just as useful, which ten you can ignore.
Step 2: compare requests with what nodes can actually offer
The most common reason is Insufficient cpu or Insufficient memory. The scheduler does not look at real usage; it adds up the requests of every pod already placed on a node and compares the total with the node's allocatable capacity. A node can be nearly idle and still be full on paper.
kubectl get pod web-7d4b9c6f5-x2k8p -n shop -o jsonpath='{.spec.containers[*].resources}'
kubectl describe node worker-1 | sed -n '/Allocated resources/,/Events/p'Typical fixes
Lower requests that were copied from a template and never measured.
Scale the deployment down, or remove finished jobs that still reserve capacity.
Add nodes, or let the cluster autoscaler do it if the node group allows it.
Avoid the reflex of removing requests altogether. A pod without requests gets scheduled anywhere, and the cost shows up later as noisy neighbours and evictions.
Step 3: taints, tolerations and node selectors
When the message mentions an untolerated taint, a node is reserved for something else: control-plane components, GPU workloads, or a team that asked for dedicated machines. A pod lands there only if it carries a matching toleration.
Selectors work the other way around. A nodeSelector or a required node affinity restricts the pod to nodes with certain labels. If no node carries the label, the message says didn't match Pod's node affinity/selector. Check both sides:
kubectl get pod web-7d4b9c6f5-x2k8p -n shop -o jsonpath='{.spec.nodeSelector}{"\n"}{.spec.affinity}'
kubectl get nodes --show-labels
kubectl describe nodes | grep -A2 TaintsA single typo in a label value, such as disktype=sdd instead of ssd, is enough to make a pod unschedulable forever.
Step 4: volumes that cannot be bound
Pods that mount a PersistentVolumeClaim wait until the claim is bound. If the claim itself is Pending, so is the pod. Look at the claim, not the pod:
kubectl get pvc -n shop
kubectl describe pvc data-web-0 -n shop
kubectl get storageclassTypical causes are a storage class name that does not exist, a request larger than any available volume, or a volume bound to a zone where no suitable node runs. With WaitForFirstConsumer binding, the claim stays Pending until a pod using it is scheduled, so read the pod's events first.
Quotas and limit ranges
A ResourceQuota usually rejects the pod at creation time, which surfaces on the ReplicaSet rather than the pod. If a deployment shows fewer pods than expected, run kubectl describe rs and look for exceeded quota.
A short checklist for the next stuck pod
Run
kubectl describe podand read the FailedScheduling message in full.Group the reasons: resources, taints, selectors and affinity, volumes.
Compare the pod's requests with the nodes' allocated resources.
Check labels and taints on the nodes you expected the pod to use.
Follow any PVC to its storage class and events.
Read the scheduler's message before you change anything. It is almost always right.
For the full list of scheduler messages, the official guide on debugging pods in the Kubernetes documentation is the reference to keep open.
Reading about it helps, but fixing a real broken cluster is what makes it stick. The Kubernetes track in DevOpsMissions drops you into clusters where pods are stuck for exactly these reasons; browse the mission tracks and start with the free module.

