Kubernetes: pod has unbound immediate PersistentVolumeClaims
The scheduler waits on an unbound claim: no provisioner, wrong access mode, mismatched static PV, or a topology-bound volume with Immediate binding.

Introduction & Quick Summary
Events:
Warning FailedScheduling 2m default-scheduler
0/3 nodes are available: pod has unbound immediate PersistentVolumeClaims.
preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.The scheduler will not place a pod whose PersistentVolumeClaim is still unbound and uses immediate binding. The volume is the blocker, not the nodes: while the PVC is Pending, no node can satisfy the pod, so capacity, taints and affinity are all red herrings in this message.
Read the PVC's own events first; they name the real cause:
kubectl describe pvc data-postgres-0 -n db
kubectl get pvc -n db
kubectl get storageclassThe five causes that cover most clusters:
- No provisioner — the StorageClass does not exist, its CSI driver is not installed, or there is no default StorageClass at all.
- Access mode mismatch —
ReadWriteManyrequested from a driver that only offersReadWriteOnce(EBS, local-path, most block storage). - Static PV mismatch — capacity,
accessModes,volumeModeor selector labels differ between the PV and the claim. - Wrong name or namespace — the PVC is created somewhere else, or a
claimNametypo. - Topology-bound volume — a local or zonal volume with
Immediatebinding cannot bind before a node is chosen.
| PVC state | Meaning | Next command |
|---|---|---|
Pending, no events | Scheduler/provisioner not watching | kubectl get sc, check CSI pods |
Pending, "no volume plugin matched" | Missing StorageClass | kubectl get sc |
Pending, "cannot bind to requested volume" | Static PV attributes differ | kubectl describe pv |
Pending, "waiting for first consumer" | WaitForFirstConsumer | Expected until a pod uses it |
Lost | Bound PV disappeared | Inspect PV, restart controller |
Terminating forever | Pod still mounts it, or finalizer | Delete the pod first |
Core Mechanics, Signatures & Reproducible Setup
A PVC is a request. A PV is the supply. Binding happens either dynamically (a provisioner creates a PV for the claim) or statically (the control plane matches an existing PV). volumeBindingMode on the StorageClass decides when binding is attempted:
Immediate— bind as soon as the PVC exists, with no knowledge of where the pod will run.WaitForFirstConsumer— bind only after a pod using the claim is scheduled, so node topology can guide provisioning.
The message pod has unbound immediate PersistentVolumeClaims is produced by the scheduler for the first mode. The scheduler's VolumeBinding plugin requires the claim to be bound before it scores nodes, so a Pending immediate claim blocks the pod indefinitely. With WaitForFirstConsumer you see waiting for first consumer to be created before binding instead, which is normal.
A minimal reproduction with the wrong access mode:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: shared-uploads
namespace: web
spec:
accessModes: ["ReadWriteMany"]
resources:
requests:
storage: 5Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: uploader
namespace: web
spec:
replicas: 3
selector:
matchLabels: { app: uploader }
template:
metadata:
labels: { app: uploader }
spec:
containers:
- name: uploader
image: ghcr.io/acme/uploader:1.4
volumeMounts:
- name: shared
mountPath: /data
volumes:
- name: shared
persistentVolumeClaim:
claimName: shared-uploadskubectl describe pvc shared-uploads -n web
# Events: no persistent volumes available for this claim and no storage class is set
# (or) requested access mode RWX is not supported by the provisioner
kubectl get pods -n web
# 0/3 nodes are available: pod has unbound immediate PersistentVolumeClaimsThe corrected claim depends on the storage that actually exists:
spec:
accessModes: ["ReadWriteOnce"] # block storage: one node at a time
storageClassName: gp3Three replicas sharing one RWO volume will not schedule on three nodes either; that requires a shared filesystem class (EFS, NFS, CephFS, Filestore) or object storage.
Key Comparison Table
| Access mode | Semantics | Typical drivers |
|---|---|---|
ReadWriteOnce | One node, many pods on it | EBS, GCE PD, local-path, most CSI block |
ReadOnlyMany | Many nodes, read-only | Same block volumes, snapshotted |
ReadWriteMany | Many nodes, read-write | NFS, EFS, CephFS, Longhorn RWX |
ReadWriteOncePod | One pod only | CSI drivers with --enable-rwx-pod support |
| Binding mode | Binds when | Good for | Failure signature |
|---|---|---|---|
Immediate | PVC created | Network storage, no topology | This error when pending |
WaitForFirstConsumer | Pod scheduled | Local disks, zonal disks | waiting for first consumer |
| Provisioning | Requires | Debug command |
|---|---|---|
| Dynamic | StorageClass + CSI controller | kubectl -n kube-system get pods and grep for csi |
| Static | Pre-created PV with matching spec | kubectl get pv --show-labels |
| Default class | is-default-class annotation | kubectl get sc -o wide |
Practical Edge Cases, Error Fixes & Deep Dive Code Examples
Case 1: Clusters with no default StorageClass
A PVC without storageClassName uses the default class. Bare metal and self-managed clusters often have none, so the claim stays Pending with no events.
kubectl get sc
# NAME PROVISIONER RECLAIMPOLICY
# local-path (default) rancher.io/local-path DeleteIf the list is empty, install a provisioner or create the class explicitly and mark it default:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-path
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: rancher.io/local-path
volumeBindingMode: WaitForFirstConsumer"" as storageClassName means "no dynamic provisioning", which is a valid way to force static binding and a common accidental cause of Pending claims copied from another cluster.
Case 2: ReadWriteMany on block storage
EBS, GCE PD and most CSI block drivers implement ReadWriteOnce only. The PVC stays Pending and the pod never schedules. Either relax the claim or move the data to a shared filesystem:
volumes:
- name: shared
persistentVolumeClaim:
claimName: shared-uploads # now RWOFor genuinely shared writes, use the platform's file service and its CSI driver (AWS EFS efs.csi.aws.com, GCP Filestore, Azure Files with ReadWriteMany).
Case 3: A static PV that almost matches
kubectl describe pvc data -n db
# Events: cannot bind to requested volume "pv-data": requested PV is too smallStatic binding requires every field to match: capacity greater than or equal to the request, accessModes that include the requested one, identical volumeMode, and any selector labels. Inspect both objects side by side:
kubectl get pv pv-data -o yaml | grep -A4 -E 'capacity|accessModes|volumeMode|claimRef'
kubectl get pvc data -n db -o yaml | grep -A4 -E 'resources|accessModes|volumeMode|selector'A stale claimRef from a previous claim keeps the PV in Released and unbindable; remove it only after confirming the old claim is gone:
kubectl patch pv pv-data --type json \
-p '[{"op":"remove","path":"/spec/claimRef"}]'Case 4: The claim is in another namespace
volumes:
- name: data
persistentVolumeClaim:
claimName: postgres-dataclaimName resolves in the pod's namespace. With StatefulSets the claim is usually <volumeClaimTemplate name>-<statefulset>-<ordinal>, so data-postgres-0 is correct and data is not.
Case 5: Local volumes need WaitForFirstConsumer
Local PVs and topology-constrained zonal disks reserve capacity on one node. With Immediate binding the claim is expected to bind before a node is known, which the provisioner cannot do.
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-ssd
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: WaitForFirstConsumerCase 6: A PVC stuck Terminating
kubectl get pvc -n db
# data-postgres-0 Bound ... 12d TerminatingThe claim is protected by kubernetes.io/pvc-protection while any pod still references it, including a completed or crashing pod. Find the consumer, delete it, and let the claim finish:
kubectl get pods -A -o jsonpath='{range .items[*]}{.metadata.namespace}/{.metadata.name}{"\t"}{.spec.volumes[*].persistentVolumeClaim.claimName}{"\n"}{end}' | grep data-postgres-0Common Compilation/Runtime Mistakes & Version Gotchas
- Reading the pod event as a capacity problem.
0/3 nodes are availableis the scheduler's summary; the cause line above it names the claim. - Deleting and recreating the pod. It will schedule again into the same Pending claim. Fix the claim or the class.
- Assuming
WaitForFirstConsumeris broken. A Pending claim with "waiting for first consumer" but no pod is healthy. - Default class changed later. A PVC that omitted
storageClassNamekeeps the class resolved at creation; adding a default class does not retrofit existing claims. - Capacity in decimal vs binary units.
1Gis smaller than1Gi; a PV of1Gdoes not satisfy a1Girequest. volumeMode: Blockclaims. A block claim cannot be mounted as a filesystem; the pod fails later with a mount error even after it schedules.- Cloud zones. A zonal disk in
us-east-1awithImmediatebinding can bind on the wrong zone and then never schedule; useWaitForFirstConsumer.
Validate edited manifests before applying them with the YAML validator, and compare a working claim with a broken one using the diff tool — a one-line storageClassName or access-mode difference is easy to miss by eye.
Primary references: Persistent Volumes defines binding modes, phases and access modes, and Storage Classes documents volumeBindingMode and default-class annotation.
Official references
primary documentationThe Kubernetes documentation that defines the behaviour this guide explains.
Try matching browser tools
All toolsSmall utilities that fit Kubernetes work — they run entirely in this browser tab, so nothing you paste leaves your device.
Related Kubernetes guides
All Kubernetes guidesKubernetes 1.35: kubelet will not start on a cgroup v1 node
A 1.35 kubelet refuses a cgroup v1 host, and the removed pod-infra flag stops custom images. Check the kernel command line before the node pool.
kubectl: metadata.resourceVersion: Invalid value: 0x0
The 0x0 error means an update carried no resourceVersion. Switch to apply or patch, or read the live object first, and keep versions out of Git.
kubectl apply: metadata.annotations: Too long: must have at most 262144 bytes
Client-side apply copies the manifest into an annotation. Use server-side apply, remove the legacy annotation, and resolve field conflicts once.
Kubernetes Requests vs Limits: CPU Throttling, QoS Classes, and OOMKilled
CPU over its limit is throttled and memory over its limit is killed. How that asymmetry, the requests-to-limits ratio, and the QoS class decide latency.
More in Kubernetes
All Kubernetes guidesThe guides filed next to this one in Kubernetes, in library order.