List PVCs mounted by Pods
Issue
- How do we find specific
PersistentVolumeClaim
mounted byPods
? - We want to verify what
Pods
are usingPersistentVolume
(PV
) throughPersistentVolumeClaim
(PVC
) mounted by thePods
. - I would like to know if there is a quick way to find out if a pvc is not being used or if it has never been used.
Environment
- OpenShift Container Platform
- 3.x
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.