kubelet_volume_stats_* in Kubernetes 1.17

616 views Asked by At

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 kubelet_volume_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!

1

There are 1 answers

1
kool On

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