Is there an efficient way to check the usage for PV/PVC in Kubernetes

Depending on how often you need to do this you might look at the df-pv plugin for kubectl https://github.com/yashbhutwala/kubectl-df-pv

It does exactly what you are asking across all the pvs in a namespace or cluster. Once you’ve got it installed, just run kubectl df-pv and you are set.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)