Re: [kubernetes/kubernetes] Can PVC show used/available size? (#42465)

4 views
Skip to first unread message

Michail Kargakis

unread,
Mar 3, 2017, 6:35:53 AM3/3/17
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

@kubernetes/sig-storage-feature-requests


You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Jing Xu

unread,
Apr 29, 2017, 12:25:05 PM4/29/17
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

I plan to work on this feature, assign to myself.

Killy

unread,
Jul 11, 2017, 4:43:15 AM7/11/17
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

does the capacity work well ? when the volume size more than the capacity, there is nothing happened, why?

Jan Šafránek

unread,
Jul 11, 2017, 6:59:45 AM7/11/17
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

@killy001, PVC.spec.capacity is user's request for storage, "I want 10 GiB volume". PV.spec.capacity is actual size of the PV. PVC can bind to a bigger PV when there is no smaller available PV, so the user can get actually more than he wants.

Similarly, dynamic provisioning works typically in bigger chunks. So if user asks for 0.5GiB in a PVC, he will get 1 GiB PV because that's the smallest one that AWS can provision.

There is nothing wrong about it.

fejta-bot

unread,
Dec 31, 2017, 8:13:27 AM12/31/17
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

Jing Xu

unread,
Jan 2, 2018, 4:47:13 PM1/2/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

/remove-lifecycle stale

fejta-bot

unread,
Apr 2, 2018, 5:49:09 PM4/2/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

fejta-bot

unread,
May 2, 2018, 6:04:55 PM5/2/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.

/lifecycle rotten
/remove-lifecycle stale

fejta-bot

unread,
Jun 1, 2018, 6:52:15 PM6/1/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.


Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

k8s-ci-robot

unread,
Jun 1, 2018, 6:52:56 PM6/1/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Closed #42465.

Jose A. Iñigo

unread,
Oct 12, 2018, 6:25:34 AM10/12/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

/reopen

k8s-ci-robot

unread,
Oct 12, 2018, 6:25:41 AM10/12/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

@codependent: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

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.

Harrison Heck

unread,
Dec 18, 2018, 4:05:53 PM12/18/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

This would be really useful.

Killy

unread,
Feb 1, 2019, 10:02:08 PM2/1/19
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

@jsafrane I know what you said, but i am wondering when user actually used more than the binded pv capacity,what will happened?

Jan Šafránek

unread,
Feb 7, 2019, 9:16:29 AM2/7/19
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

It's up to storage driver to decide. In case of a block volume, write() will probably fail. Kubernetes does not do any checking here.

Hamdan Radaideh

unread,
May 30, 2019, 5:33:00 AM5/30/19
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

this feature is needed .. !!!!
@jingxu97

ntsh999

unread,
Apr 15, 2020, 5:11:08 PM4/15/20
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

this is a much required feature!


You are receiving this because you are on a team that was mentioned.

Reply to this email directly, view it on GitHub, or unsubscribe.

Appréderisse Benjamin

unread,
Apr 16, 2020, 5:46:36 AM4/16/20
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Is there a way to get that information programmatically using the metrics api?

Hamdan Al-Radaideh

unread,
Apr 16, 2020, 5:55:27 AM4/16/20
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

well it depend on the provisioner
for example Ceph have a long workaround to get the size of the image (PV)
i made an integration with Ceph/k8s/Prometheus here https://github.com/halradaideh/size_exporter

I think a DaemonSet replicaset, can have access to the mounted paths on each node, and simple check the size using a Linux utility like DH, then map them to the PVs..

Reply all
Reply to author
Forward
0 new messages