How to get consumed storage percentage for any persistent volume in openshift?

4/24/2020

I am looking for a simple method to get the storage used and storage allocated for a persistent volume dynamically claimed by PVC for any pod. Is there any rest API or oc command for the same?

I am new to OpenShift/Kubernetes. As per my investigation, I could not find any such command. oc adm top command describes the usage statistics for nodes and pods only.

-- Himanshu Jindal
kubernetes
kubernetes-helm
kubernetes-pod
openshift
openshift-client-tools

0 Answers