-
Notifications
You must be signed in to change notification settings - Fork 769
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
[nfs-subdir-external-provisioner] No restrictions on PVC #51
Comments
quota.go is very limited, it relies on the volume backing the NFS store to be XFS and the provisioner has to be privileged. Even then it might not work, depending on container runtime and such. I think a more generic quota/restriction mechanism is not feasible since NFS doesn't support it. : / To enforce per-PVC quota, the server would have to poll disk usage and then somehow block writes after quota exceeded... To enforce per-server/provisioner quota, the server would have to poll disk usage and then reject PVCs once quota is exceeded. |
PVC sizes are requests but not necessarily limitations. the matching PV should be at least the size of the PVC and it is not guaranteed that this size is really available nor enforced - by design. @wongma7 wdyt? |
Hello, Isn't this: https://serverfault.com/a/100628 could be a solution ? When provisioning a volume, you create a dedicated directory anyway. Then you just ensure the mount of a file with the right size. I do agree that the PVC sizes are requests and not limits, but, since you can't limit others, you can't either guarantee the size requested... |
Did someone try to use XFS on the NFS Server for quotas already? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
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. |
Hey there,
I'm merely linking the former
nfs-client-provisioner
issue about the quota here.kubernetes-retired/external-storage#1301
Would be really handy having this included as well
The text was updated successfully, but these errors were encountered: