'My PVC has been Pending for ten minutes.' It names storageClassName: fast-ssd, and kubectl describe pvc shows storageclass.storage.k8s.io "fast-ssd" not found. What is wrong, and what do you tell the developer?
- PVCs must be created by an administrator. PVCs are namespaced and routinely created by application manifests.
- The cluster is out of disk space. Capacity problems surface as provisioner errors, not as a missing class.
- The pod has not been created yet, so binding waits. That message would say 'waiting for first consumer'; this one says the class does not exist.
- No StorageClass with that name exists, so no provisioner is asked to create a volume; fix the class name or create the class. Dynamic provisioning is driven by the class; an unknown class means nothing happens.
No StorageClass named fast-ssd exists, so nothing provisions a volume; fix the class name or create the class.
The PVC names the class; the class names the provisioner. When the class is missing, the request is never routed anywhere and the claim sits Pending forever. kubectl get storageclass lists what exists and which one is default.
Guessing 'the cluster is out of disk'. Capacity problems show up as provisioner errors; a missing class means the request was never routed anywhere.