Back to all scenarios
Scenario #383
Storage
Kubernetes v1.22, bare-metal CSI

ReclaimPolicy Retain Caused Resource Leaks

Deleting PVCs left behind unused PVs and disks.

Find this helpful?
What Happened

PVs had ReclaimPolicy: Retain, so disks weren’t deleted.

Diagnosis Steps
  • 1PVs stuck in Released state.
  • 2Disk usage on nodes kept increasing.
Root Cause

Misconfigured reclaim policy.

Fix/Workaround
• Manually cleaned up PVs and external disk artifacts.
Lessons Learned

Retain policy requires manual lifecycle management.

How to Avoid
  • 1Use Delete for ephemeral workloads.
  • 2Periodically audit released PVs.