Hi @clandry94,
Is there a similar solution implemented in Kubernetes Python API.
I have tried using read_namespaced_persistent_volume_claim, which returns the PVC Object. However, this does not contain the Pod that is mounting this PVC.
Any pointers on this would of great help.
Regards
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Would it be possible to have getMountPods() exposed to the Golang API? Was looking for this exact method to use but just had to copy and paste it over to my own code. Seems odd to not expose it to the wider API, and just restrict it to kubectl describe. So similar to @ps10's request, expose the "Mounted By" to the PersistentVolumeClaimStatus perhaps