-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Persistent Volume size vs nfs #61641
Comments
Kubernetes does not do capacity enforcement of PVs. It is up to the underlying storage backend to enforce capacity. So you may need to configure your nfs server to use quota. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: 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. |
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
/sig storage
What happened:
I created a nfs persistent volume with 1 Gi size, then I created persistent volume claim and pod with that claim attached. After that inside the pod I write ~2G data with dd (from /dev/urandom). If I check nfs data from other location, the whole data is there.
What you expected to happen:
Say no more space or terminate pod
How to reproduce it (as minimally and precisely as possible):
kubectl create -f nfs-pv.yaml.txt
kubectl create -f nfs-pvc.yaml.txt
kubectl create -f nfs-pod.txt
Exec shell into pod and overcommit the 1 Gi persistent volume size (it's mounted under /mnt).
Anything else we need to know?:
I tried with the static method and with dynamic proviser too (from external storage repo), it's the same result.
Environment:
kubectl version
): v1.9.6+coreos.0uname -a
): 4.14.19-coreosnfs-pod.yaml.txt
nfs-pv.yaml.txt
nfs-pvc.yaml.txt
The text was updated successfully, but these errors were encountered: