Prometheus PVC usage detail for AWS EFS based storageclass

316 views
Skip to first unread message

Amaresh Kumar

unread,
Apr 26, 2022, 4:13:57 AM4/26/22
to Prometheus Users
Hello,
We need to provide the solution for PVC usages and alert when PVC reaches some limit(80%), currently we have deployed Prometheus helm chart in kuberntes cluster and we are getting PVC data from kubelet_volume_stats_capacity_bytes, kubelet_volume_stats_available_bytes, kubelet_volume_stats_used_bytes.

however above key is not collecting data for the PVC which is based on EFS storage class.
this key "kube_persistentvolumeclaim_resource_requests_storage_bytes" is collecting data for EFS based PV/PVC, but it doesn't provide the used and available space.
EFS based storageclass is created using EFS CSI driver.

looking for some help how we can monitor the PVC which is based on EFS CSI storage class.

Thank you,
Amaresh Kumar
Reply all
Reply to author
Forward
0 new messages