kubelet_volume_stats_* in Kubernetes 1.17

9/30/2020

I've been monitoring my k8s cluster in Azure with Prometheus/Grafana with no problem till last update from v1.15 to v1.17. Now I can't kubeletvolume_stats* metris in Prometheus, and I have no idea why.

Reading https://v1-17.docs.kubernetes.io/docs/setup/release/notes/#deprecated-changed-metrics I've seen these metrics have been marked as with the ALPHA stability level.

What's the meaning of this? Is there a way to continue reading these metrics from Prometheus?

Thank you!

-- OnekO
kubelet
kubernetes
metrics
prometheus

1 Answer

10/1/2020

You can view node utilization by using:

node_filesystem_avail
node_filesystem_free
node_filesystem_size

For PersistentVolumeClaims you can use following metric:

kube_persistentvolumeclaim_resource_requests_storage_bytes
-- kool
Source: StackOverflow