Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume stats missing #134

Closed
kibs opened this issue Mar 17, 2019 · 4 comments · Fixed by #197
Closed

Volume stats missing #134

kibs opened this issue Mar 17, 2019 · 4 comments · Fixed by #197
Assignees

Comments

@kibs
Copy link

kibs commented Mar 17, 2019

What did you do? (required. The issue will be closed when not provided.)

Setup kube-prometheus (https://github.com/coreos/prometheus-operator/tree/master/contrib/kube-prometheus)

What did you expect to happen?

Being able to see PV stats, like diskspace free etc. There is an dashboard for this already added, but data was empty. Checked out prometheus data and didn't find any metrics named kubelet_volume_stats_*

Searched around, and it looks like from my understanding that the driver should implement this.

https://stackoverflow.com/questions/44718268/how-to-monitor-disk-usage-of-kubernetes-persistent-volumes?rq=1

  • CSI Version:
    latest managed DO cluster

  • Kubernetes Version:
    1.3.14 managed DO cluster

@welcome
Copy link

welcome bot commented Mar 17, 2019

Thank you for creating the issue! One of our team members will get back to you shortly with additional information.

@ghost
Copy link

ghost commented May 12, 2019

I'm facing the same situation (DO-managed k8s 1.13.4). No volume metrics are exposed.

$ curl -skH 'Authorization: Bearer ...' https://10.xxx.xxx.xxx:10250/metrics | grep ^kubelet_volume | wc -l
0

Related info: coreos/prometheus-operator#2359

Having suffered from a volume with no space left on device just recently I'd like to hear if there's any update on this issue.

@boedy
Copy link

boedy commented Jun 13, 2019

In need of the same requirement. Critical to have the ability to send alerts if volume is reaching full capacity.

While scanning through the drive plugin code it seem the NodeGetVolumeStats method is not yet implemented.

@timoreimann timoreimann self-assigned this Oct 31, 2019
@timoreimann
Copy link
Collaborator

timoreimann commented Nov 2, 2019

I have finished what I think should approach a working implementation of the requested feature. Still need to run more tests to confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants