A PVC does not specify storageClassName and relies on the cluster default. If no default StorageClass is set, the PVC can remain Pending indefinitely; behavior also depends on cluster policy and reduces portability.
Warning
N/A
- Report shows: PVC <ns>/<name> has no storage class specified
- PVC spec.storageClassName is empty
- Set spec.storageClassName explicitly to a StorageClass that exists in the cluster
- Or set a default StorageClass in the cluster so unspecified PVCs use it
- For cross-environment deployment, specify StorageClass in the manifest for predictability