Skip to main content
PersistentVolumeClaim Stuck Pending: How to Fix It

PersistentVolumeClaim Stuck Pending: How to Fix It

KU
· Founder & Chief Editor
• 8 min read•Updated •63 views

A PVC stuck in Pending means nothing on the cluster can hand it a volume. Here's how we read the events and get it bound fast.

Key takeaways

  • A PVC stays Pending when no PersistentVolume matches it and no provisioner has created one.
  • Run kubectl describe pvc and read the Events.
  • The usual causes are a missing or misnamed StorageClass, no default class, a broken CSI driver, an unsupported access mode, WaitForFirstConsumer waiting for a pod, or a namespace quota.

Run kubectl describe pvc <name> -n <namespace> and read the Events at the bottom: they name the cause. A PVC stays Pending because no PersistentVolume matches it and no provisioner has created one. Fix the StorageClass name or default, the CSI driver, the access mode or the quota, or create the pod a WaitForFirstConsumer class is waiting for.

Verified against

Kubernetes 1.37 (1.37.1), kubectl 1.37, against the kubernetes.io Persistent Volumes and Storage Classes concept pages. Checked October 2026.

The pod that needs the storage sits in Pending right alongside the claim, and you get paged because a deploy never came up. The PVC tells you why, if you ask it. The catch is that the message is buried in the events, and plenty of teams never run the one command that surfaces it.

What Pending actually means

When you create a PVC, the control plane tries to satisfy it. With static provisioning it looks for a pre-created PV whose capacity, access mode and storage class match. With dynamic provisioning it calls the CSI driver named by the StorageClass and asks it to cut a fresh volume. Pending means neither path finished. Most of the time it is not a transient "wait a bit" state. The Kubernetes docs put it bluntly: "Claims will remain unbound indefinitely if a matching volume does not exist." It's a mismatch or a missing piece, and it stays Pending until you change something.

Start with describe, always

Skip kubectl get. It only tells you it's Pending, which you already know. Go straight to the events:

Bash
$ kubectl describe pvc data-postgres-0 -n prod
Name:          data-postgres-0
Namespace:     prod
StorageClass:  fast-ssd
Status:        Pending
Volume:
Access Modes:
Events:
  Type     Reason              Age                From                         Message
  ----     ------              ----               ----                         -------
  Warning  ProvisioningFailed  12s (x8 over 2m)   persistentvolume-controller  storageclass.storage.k8s.io "fast-ssd" not found

There it is. The claim asked for a StorageClass called fast-ssd and no such class exists on this cluster. Every root cause below shows up as a distinct event line, so read them before you touch anything. Then list what you actually have:

Bash
$ kubectl get storageclass
NAME            PROVISIONER       RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
gp3 (default)   ebs.csi.aws.com   Delete          WaitForFirstConsumer   true                   212d
standard        ebs.csi.aws.com   Delete          Immediate              false                  212d

The causes, and how each one reads

Event message (abridged)CauseFix
storageclass.storage.k8s.io "<name>" not foundWrong class name in the PVCPoint storageClassName at a real class
no persistent volumes available for this claim and no storage class is setNo class, no default, no matching static PVMark one class default, or create a matching PV
waiting for a volume to be created, either by external provisioner ... or manually createdCSI driver missing, crashing or lacking cloud permissionsFix the driver pods and their IAM role
waiting for first consumer to be created before bindingWaitForFirstConsumer, no pod yetCreate the pod; debug its scheduling
exceeded quotaNamespace ResourceQuota on storage or PVC countRaise the quota or delete stale PVCs

No matching StorageClass, or no default. This is the "fast-ssd" not found case above. Either the class name in the PVC is wrong, or you left storageClassName blank expecting a default and no class is marked default. Check for (default) in the list. A class-less PVC with no default stays Pending; per the Storage Classes docs, once a default appears the control plane retroactively sets it on PVCs with no storageClassName, but not on ones that explicitly set "". Fix it by pointing the PVC at a real class, or mark one class default:

Bash
$ kubectl annotate storageclass gp3 \
    storageclass.kubernetes.io/is-default-class=true

Mark exactly one. If several classes carry the annotation, Kubernetes uses the most recently created one, which is a fine way to get surprised months later.

The CSI driver isn't installed or is failing. The class exists, but the event says the claim is waiting for the external provisioner (ebs.csi.aws.com here) and nothing ever happens. That means no healthy controller is answering for that driver. Check the driver pods:

Bash
$ kubectl get csidrivers
$ kubectl get pods -n kube-system -l app=ebs-csi-controller
$ kubectl logs -n kube-system deploy/ebs-csi-controller -c csi-provisioner --tail=50

If the controller is crash-looping or logging access-denied errors, the usual culprit is IAM: the driver's service account can't create volumes in the cloud. Fix the role, and the queued PVCs provision on their own.

Requested size or access mode isn't available. With static PVs, no persistent volumes available for this claim means you rely on hand-made PVs and none is big enough or free. The docs give the example of a cluster full of 50Gi PVs that can never satisfy a 100Gi claim. The other classic is access mode. A block store like EBS or a plain GCP persistent disk only supports single-node access. Ask for ReadWriteMany on it and the provisioner rejects the claim, or no PV ever matches. RWX needs a file backend: EFS, Filestore, or an NFS-backed class. Don't try to bend a block volume into shared access.

WaitForFirstConsumer, no consumer. Look back at the StorageClass list: gp3 uses WaitForFirstConsumer. The docs describe it as delaying "the binding and provisioning of a PersistentVolume until a Pod using the PersistentVolumeClaim is created", so the volume lands in the zone the scheduler picks for the pod. Create a bare PVC and stare at it, and it stays Pending with:

code
Normal  WaitForFirstConsumer  ...  waiting for first consumer to be created before binding

This is Pending by design. Create the pod that uses it. If the pod itself won't schedule (no capacity, taints, an unsatisfiable node selector), the PVC waits on the pod, so debug the pod's scheduling first with the pod Pending guide.

Zone mismatch. Immediate is the default binding mode when a class doesn't set one. In a multi-zone cluster that means a volume can be provisioned in us-east-1a while the only node that can run the pod is in us-east-1b. EBS volumes don't cross zones, so the pod stays Pending with volume node affinity conflict. This is exactly the problem WaitForFirstConsumer was built to prevent, which is why we default every block-storage class to it.

Quota. A ResourceQuota on the namespace capping requests.storage or persistentvolumeclaims blocks new claims with an exceeded-quota error. Run kubectl describe resourcequota -n prod and either raise the cap or clean up abandoned PVCs.

A worked example

Here's a class and a PVC that bind cleanly on AWS with the EBS CSI driver:

YAML
# k8s/storage/gp3-and-claim.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: gp3
provisioner: ebs.csi.aws.com
volumeBindingMode: WaitForFirstConsumer
parameters:
  type: gp3
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: data-postgres-0
  namespace: prod
spec:
  storageClassName: gp3
  accessModes: [ReadWriteOnce]
  resources:
    requests:
      storage: 50Gi

The data-postgres-0 failure at the top was just storageClassName: fast-ssd where the cluster only had gp3. Changing that one line clears it, with one wrinkle: a PVC's spec is mostly immutable after creation, so delete and recreate the claim (or, for a StatefulSet, fix the volumeClaimTemplates and delete the stuck PVC) rather than expecting kubectl apply to patch it. The PVC binds the moment the StatefulSet pod schedules.

If you want a broader map of cluster failure modes, our Kubernetes troubleshooting guide covers the neighboring ones.

Questions people ask

Why is my PVC stuck in Pending?

Because no PersistentVolume matches it and no provisioner has created one. Run kubectl describe pvc and read the Events. The common causes are a misspelled or missing StorageClass, no default class, a CSI driver that isn't running or lacks cloud permissions, an access mode the backend can't serve, a namespace quota, or a WaitForFirstConsumer class that won't provision until a pod uses the claim.

Is a PVC Pending with WaitForFirstConsumer a problem?

No, not by itself. With volumeBindingMode: WaitForFirstConsumer, Kubernetes delays binding and provisioning until a pod that uses the claim is created, so the volume lands in the pod's zone. A bare PVC shows waiting for first consumer to be created before binding forever. Create the pod; if it stays Pending too, the real problem is the pod's scheduling.

How do I set a default StorageClass?

Annotate one class with storageclass.kubernetes.io/is-default-class=true using kubectl annotate storageclass <name>. Keep exactly one default: if several are marked, Kubernetes picks the most recently created. Existing PVCs with no storageClassName get the new default automatically, but claims that explicitly set storageClassName: "" stay unchanged, because an empty class disables dynamic provisioning for them.

The call we'd make

Run describe first, every time, and read the events before you change a single YAML line. Most of the time the message names the exact problem, and when it doesn't, it's a CSI driver or IAM issue that the driver's own logs will hand you. Default your block-storage classes to WaitForFirstConsumer so zone mismatches stop happening, mark exactly one StorageClass as default, and stop reaching for ReadWriteMany on volumes that were never built to share.

Sources

Explore topics:KubernetesDevOps
React
Share this post
Cite this article
Plain text

Kiril Urbonas (2026). PersistentVolumeClaim Stuck Pending: How to Fix It. DevOpsNess. Updated 2026-10-31. https://www.devopsness.com/blog/fix-pvc-pending

Markdown

[PersistentVolumeClaim Stuck Pending: How to Fix It](https://www.devopsness.com/blog/fix-pvc-pending) (Kiril Urbonas, DevOpsNess, updated 2026-10-31)

KU

Kiril Urbonas

Founder & Chief Editor

586 articles
View all articles by Kiril Urbonas

You might have missed

Evergreen posts worth revisiting.