Skip to content

kubectl top pv #1318

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

Closed
willzhang opened this issue Aug 25, 2023 · 3 comments
Closed

kubectl top pv #1318

willzhang opened this issue Aug 25, 2023 · 3 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@willzhang
Copy link

willzhang commented Aug 25, 2023

What would you like to be added:

$ kubectl top pv
NAME                                       CAPACITY   USED  AVAIL  USE%   STORAGECLASS
pvc-0ae3c482-1780-4255-b6a6-fddba69fcc7f   8Gi        13M    16G   1%     openebs-hostpath
pvc-148dea9c-4f04-43e3-9f00-3a147a95e8f4   20Gi       13M    16G   2%     openebs-hostpath
pvc-2465371e-4df8-40ce-aa21-27c908b7cd05   1Gi        13M    16G   3%     openebs-hostpath
pvc-279d9a64-877b-4efd-93ac-2327c5045aa0   8Gi        13M    16G   4%     openebs-hostpath

Why is this needed:
i want get pv and pvc usage

/kind feature

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 25, 2023
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If metrics-server contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Aug 25, 2023
@willzhang
Copy link
Author

@dgrisonnet
Copy link
Member

This would require Kubelet to expose the PV stats through the metrics API which is not the case today. I would encourage you to open or revive an issue there if you want this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants