Back to all scenarios
Scenario #74
Cluster Management
K8s v1.22, GKE

Persistent Volume Provisioning Delays

Persistent volume provisioning was delayed due to an issue with the dynamic provisioner.

Find this helpful?
What Happened

PVCs were stuck in the Pending state because the dynamic provisioner could not create the required PVs.

Diagnosis Steps
  • 1Checked PVC status using kubectl get pvc and saw that they were stuck in Pending.
  • 2Investigated storage class settings and found an issue with the provisioner configuration.
Root Cause

Misconfigured storage class settings were preventing the dynamic provisioner from provisioning volumes.

Fix/Workaround
• Corrected the storage class settings, ensuring the correct provisioner was specified.
• Recreated the PVCs, and provisioning completed successfully.
Lessons Learned

Validate storage class settings and provisioner configurations during cluster setup.

How to Avoid
  • 1Test storage classes and volume provisioning in staging environments before production use.
  • 2Monitor PV provisioning and automate alerts for failures.