{"repo":"yashbhutwala/kubectl-df-pv","free":true,"listed":false,"github":"https://github.com/yashbhutwala/kubectl-df-pv","clone":"git clone https://github.com/yashbhutwala/kubectl-df-pv.git","description":"kubectl plugin - giving admins df (disk free) like utility for persistent volumes","language":"Go","stars":498,"topics":["krew-plugin","kubectl-plugin","kubernetes","kubectl","df","persistent-volumes","persistent-volume-claims"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"kubectl df-pv A kubectl plugin to see df for persistent volumes. Requirements &#9745; kube-apiserver has api/v1/nodes/ endpoint enabled &#9745; Appropriate RBAC. This utility is meant for cluster-admin like user; specifically, you need a service account with enough RBAC privileges to access api/v1/nodes/ from the kube-apiserver . &#9745; Using a storage provisioner that populates pv metrics in a compatible manner (see what's been tested below) Quick Start Installation Via Go Via Krew From source Via Release Binary macOS Usage Flags Other useful commands enable trace logging, but output to a file Tested Works on &#9745; GKE ( kubernetes.io/gce-pd dynamic provisioner; both with ssd and standard ) &#9745; kubeadm configured bare-metal cluster ( rook ceph block dynamic provisioner using script) Does not work due to storage provisioner &#9746; kind ( rancher/local-path-provisioner dynamic provisioner) &#9746; minikube ( gcr.io/k8s-minikube/storage-provisioner minikube-hostpath dynamic provisioner) TODO [ ] EKS [ ] AKS TODO Features Yet to be completed &#9746; sort-by flag &#9746; exclude namespaces &#9746; only show a specific colored result (\"red\", \"yellow\", \"green\") Completed &#9745; df for all Persistent Volumes in the cluster &#9745; human readable output as default (using IEC format) &#9745; color based on usage [red: 75% (too high); yellow: = 25 and <= 75 (OK)] &#9745; print PV name &#9745; print volume mount name Motivation Have you ever wondered, \"How much free disk space ","default_branch":null,"files":null,"tree":[],"storefront":"/r/yashbhutwala","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yashbhutwala/kubectl-df-pv/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}