How to monitor disk usage of kubernetes persistent volumes?

后端 未结 2 625
南旧
南旧 2020-12-14 20:58

I have container_fs_usage_bytes with prometheus to monitor container root fs, but it seems that there is no metrics for other volumes in cAdvisor.

2条回答
  •  感情败类
    2020-12-14 21:24

    Metrics for volumes are available via the kubelet summary API (/stats/summary). However, each volume plugin has to implement their own metrics. As of Kubernetes 1.7, the current volume plugins that have implemented metrics include: emptydir, secrets, gce pd, aws ebs, azure file, flocker, and portworx

提交回复
热议问题