Back to all scenarios
Scenario #387
Storage
Kubernetes v1.22, on-prem CSI
PVC Deleted While Volume Still Mounted
PVC deletion didn’t unmount volume due to finalizer stuck on pod.
Find this helpful?
What Happened
Pod was terminating but stuck, so volume detach never happened.
Diagnosis Steps
- 1PVC deleted, but disk remained attached.
- 2Pod in Terminating state for hours.
Root Cause
Finalizer logic bug in kubelet.
Fix/Workaround
• Force deleted pod, manually detached volume.
Lessons Learned
Volume lifecycle is tied to pod finalization.
How to Avoid
- 1Monitor long-running Terminating pods.
- 2Use proper finalizer cleanup logic.