This exporter provides 2 metrics, one for monitoring mounted pvc usage precent named pvc_usage, and one for provides the mapping between pod and pvc named pvc_mapping.
Only used to monitor mounted pvc that provied by block storage provisioner. The following storage provisioners has been confirmed to be working:
- longgorn
- trident
- rook-ceph
- aliyun flexvolume
- iomesh
- nutanix-csi
Using the helm chart simply with this commands:
helm repo add mariof-charts https://mario-f.github.io/helm-charts/
helm install pvc-exporter mariof-charts/pvc-exporter
You can import the pvc-exporter-dashboard to grafana for monitoring pvc usage. The legend format is pod:pvc.