Read persistentVolumeClaims "Used" section from OCP with OpenShiftClient

96 Views Asked by At

I am using OpenShiftClient to read values from OCP. So far I was able to read the Name, Status and Capacity values from persistentVolumeClaims Page without any issues. But, when im reading all the values, im unable to find the values which appear in "Used" column in the client Object that im reading: OCP screen

Any idea how can i do that?

looks like the object that OpenShiftClient returns doesn't provide it.

Alternatively, which oc cli command can I use to extract those values?

0

There are 0 best solutions below