McKube 0 requests sent

FailedScheduling: Pod Has Unbound Immediate PersistentVolumeClaims

Fix Pods stuck Pending because a referenced PVC cannot bind to a PersistentVolume.

HIGH · Unbound PVC

Root Cause

Kube-scheduler cannot place the Pod because one or more immediate-binding PVCs are still Pending (missing default StorageClass, CSI provisioner error, invalid accessMode, or namespace storage quota exceeded).

Why It Happens

Unlike CPU or memory scheduling failures, scaling up worker nodes will never unblock an unbound PVC. Inspecting kubectl describe pvc in the Pod's namespace reveals the exact StorageClass or CSI driver error.

What It Looks Like in kubectl describe

Name:         db-0
Namespace:    data
Events:
  Warning  FailedScheduling  5s  default-scheduler  0/3 nodes are available: pod has unbound immediate PersistentVolumeClaims.

How to Fix

  • Run kubectl describe pvc -n <ns> to inspect the StorageClass provisioner error.
  • Verify a default StorageClass exists or set spec.storageClassName explicitly on the PVC.
  • Confirm the requested accessMode (RWO vs RWX) is supported by the CSI driver.

Diagnostic Commands

kubectl get pvc -n <ns>
kubectl describe pvc -n <ns>
kubectl get storageclass