mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-02 23:02:25 +00:00
Automatic merge from submit-queue (batch tested with PRs 51513, 51515, 50570, 51482, 51448) Add PVCRef to VolumeStats **What this PR does / why we need it**: For pod volumes that reference a PVC, add a PVCRef to the corresponding volume stat. This allows metrics to be indexed/queried by PVC name which is more user-friendly than Pod reference **Which issue this PR fixes** : [#363](https://github.com/kubernetes/features/issues/363) **Special notes for your reviewer**: **Release note**: ``` `VolumeStats` reported by the kubelet stats summary API (http://<node>:10255/stats/summary) now include a PVCRef field describing the PVC referenced by the volume (if any). ```