My goal is to get the capacity of ceph cluster by ceph-csi in kubernetes
Same as the command in ceph 'ceph -s' usage: 10 Gib used, 12GiB /22 GiB avail
Version is
ceph-csi v3.6.0 kubernetes v1.21.8I already hava open the kubernetes feature gate CSIVolumeHealth,but in prometheus I did not find any useful info,only kubelet_volume_stats_*,but that all about persistenceVolume,not ceph cluster capacity.
anyone can help? plz
Same for me, the following Prometheus query works well for all PVCs except for Ceph OSDs PVCs:
Reference: https://github.com/redhat-cop/volume-expander-operator/issues/9