- Notifications
You must be signed in to change notification settings - Fork42k
Description
Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
What happened:
I need to know to which Pod(s) a PVC is being mounted to, without having to go through each Pod one by one checking the Volume mounts and the PersistentVolumeClaim.
The kubectl describe pvc and get pvc, only tell you to which Persistent Volume the PVC is bound to, but not if is being used by a Pod(s)
What you expected to happen:
Add a new field in the describe or get that lists the pods that are using the PVC as a volume mount
How to reproduce it (as minimally and precisely as possible):
Have a PV/PVC bound and create a pod using a volume mount
Anything else we need to know?:
Not sure if this is only for Azure Disk, which is the Storage Class I am using.
Environment:
Kubernetes version (use
kubectl version):
1.9.7Cloud provider or hardware configuration:
AzureOS (e.g. from /etc/os-release):
Ubuntu 16.04Kernel (e.g.
uname -a):
4.4Install tools:
Azure Kubernetes ServicesOthers:
-n/a