huaweicloud / huaweicloud-csi-driver

Huawei Cloud Container Storage Interface(CSI) Driver
Apache License 2.0
41 stars 24 forks source link

[obsfs with CSI driver] Missing volume metric #110

Closed MrLuje closed 1 year ago

MrLuje commented 1 year ago

Hello,

I'm not totally sure this is the correct repository for https://support.huaweicloud.com/intl/en-us/usermanual-cce/cce_01_0066.html We have been using OBS mounted as PVC and we noticed that metrics are not reported to kubelet (metric kubelet_volume_stats_capacity_bytes missing for this volume).

PVC is declared with :

metadata:
  name: cce-obs-datagateway
  annotations:
    csi.storage.k8s.io/fstype: obsfs
    volume.beta.kubernetes.io/storage-provisioner: everest-csi-provisioner

This is the mount as seen by the Pod :

bash-4.4$ df -h | grep storage
obsfs                                                                                             256T     0  256T   0% /work/storage

No prometheus metrics reported with :

kubelet_volume_stats_capacity_bytes{persistentvolumeclaim="cce-obs-datagateway"}

=> empty

Thanks

chengxiangdong commented 1 year ago

This repository is not for CCE, it is for a custom Kubernetes clusters. For CSI issues in CCE, please submit Service Tickets on HUAWEI CLOUD for consultation.

MrLuje commented 1 year ago

Thanks