Fix a Kubernetes PVC stuck Pending¶
Short answer: A PersistentVolumeClaim stuck Pending means Kubernetes can't
bind it to a volume — so any pod that mounts it is stuck too. It's almost always a
missing or wrong StorageClass, no CSI driver / provisioner to create the
volume, or a size/zone/access-mode mismatch with the available PVs. Read the PVC
events first.
Last reviewed: 2026-06-27.
Diagnose it¶
kubectl describe pvc <pvc> -n <ns> # Events show why it won't bind
kubectl get storageclass # is there a (default) StorageClass?
kubectl get pods -n kube-system | grep -i csi # is the provisioner running?
kubectl get pv # any matching, Available PVs?
The PVC Events are decisive: no persistent volumes available,
storageclass not found, or waiting for a volume to be created (provisioner
missing).
Causes & fixes¶
| Event says… | Cause | Fix |
|---|---|---|
storageclass "x" not found |
wrong/empty storageClassName |
set a real class, or mark one default |
| no default StorageClass | cluster has none | annotate one storageclass.kubernetes.io/is-default-class=true |
waiting for a volume to be created |
CSI provisioner not installed/healthy | install/fix the CSI driver (e.g. EBS/EFS/PD CSI) |
node(s) had volume node affinity conflict |
PV in a different zone than the pod | use WaitForFirstConsumer binding mode |
| no matching PV (static) | size/accessMode mismatch | create a PV that matches, or fix the request |
| access mode unsupported | RWX on a block-only driver | use an RWX-capable class (e.g. EFS/NFS) |
# make an existing StorageClass the cluster default
kubectl patch storageclass <sc> -p \
'{"metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
Why it's easy to miss¶
The pod just sits in Pending/ContainerCreating with no crash and no logs — the
real error is on the PVC, not the pod. On a fresh cluster (or after removing the
EBS/EFS CSI driver) every stateful workload silently fails to start.
How Karakuri handles it¶
Karakuri watches PVCs natively and flags one
stuck unbound past a grace period, reads the binding event, and posts a Slack card
naming the cause (missing StorageClass, absent provisioner, zone conflict) with the
fix — no Prometheus needed. Try it: make demo.
FAQ¶
Why is my pod stuck ContainerCreating?
Often the PVC it mounts is Pending. Check the PVC, not just the pod.
WaitForFirstConsumer vs Immediate?
Immediate binds the volume as soon as the PVC is created (can land in the wrong
zone); WaitForFirstConsumer waits until a pod is scheduled so the volume is created
in the pod's zone — the safer default for zonal storage.