k3s/pkg/volume/rbd
Kubernetes Submit Queue ea89d62710 Merge pull request #48486 from cofyc/rbd_metrics
Automatic merge from submit-queue (batch tested with PRs 49081, 49318, 49219, 48989, 48486)

Use MetricsStatsFs to expose RBD volume plugin metrics.

**What this PR does / why we need it**:

We need to monitor RBD volume usage of our cluster and configure alerts if RBD volume is nearly full. Users of cluster also need to see usage history graph on Grafana.

This PR use MetricsStatsFs to implement MetricsProvider interface of RBD plugin (same as `gce_pd`), so kubelet /stat/summary can expose RBD volume stats.

**Special notes for your reviewer**:

cc @rootfs

**Release note**:

```release-note
NONE
```
2017-07-28 04:03:44 -07:00
..
BUILD update godep 2017-07-20 11:03:49 -07:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
disk_manager.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
doc.go
rbd.go Merge pull request #48486 from cofyc/rbd_metrics 2017-07-28 04:03:44 -07:00
rbd_test.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
rbd_util.go update import 2017-07-20 11:03:49 -07:00