You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently using Rook ceph for Kubernetes storage.
I experimented with this controller and it works like magic! Except that for my case, ceph OSD PVCs have block volumeMode:
Thus, kubelet_volume_stats_used_bytes and kubelet_volume_stats_capacity_bytes metrics for OSD PVCs are unavailable in Prometheus.
The idea is to:
add specific annotations for ceph PVCs or cluser definition manifest (CephCluster CRD)
use ceph metrics instead: ceph_cluster_total_bytes and ceph_cluster_total_used_bytes
To be decided: update the PVC or CephCluster CRD (safer)
I'd be more than happy to contribute to the implementation of the idea if it is worth experimenting with.
++
The text was updated successfully, but these errors were encountered:
hi @medkbadri, I like your proposal. Before we do something storage provider specific, let me ask you this. I'd expect the CSI spec to define also a set of metrics to be exported which would supposedly cover also the block volume use case. Do you know where we stand on that? I'd prefer to use those metrics as they'd offer two advantages:
they'd be implementation agnostic
the kubelet metrics are available only when the volume is mounted, presumably instead CSI metrics would always be available.
Hello,
We're currently using Rook ceph for Kubernetes storage.
![image](https://user-images.githubusercontent.com/40020831/108495011-89fc0800-72a8-11eb-83d6-ecb1ef4f0631.png)
I experimented with this controller and it works like magic! Except that for my case, ceph OSD PVCs have block volumeMode:
Thus, kubelet_volume_stats_used_bytes and kubelet_volume_stats_capacity_bytes metrics for OSD PVCs are unavailable in Prometheus.
The idea is to:
I'd be more than happy to contribute to the implementation of the idea if it is worth experimenting with.
++
The text was updated successfully, but these errors were encountered: