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

Disable root reservation for pvc #20

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Conversation

asviel
Copy link
Contributor

@asviel asviel commented Jun 24, 2024

Normally, the default percentage of reserved blocks which may only be allocated by privileged processes is 5%. But it's a lost space for csi volumes.

For example, k8s mount utils passes -m0 option:
https://github.com/kubernetes/kubernetes/blob/10ae1dbb52d5d03bcbff981065597e341a3d0237/staging/src/k8s.io/mount-utils/mount_linux.go#L604-L608

The same problem in another csi driver:
kubernetes-sigs/vsphere-csi-driver#2713

Signed-off-by: Yan Zarytovsky <yan.zarytovsky@flant.com>
@asviel asviel self-assigned this Jun 24, 2024
@asviel asviel requested review from name212 and RomanenkoDenys June 24, 2024 10:06
@RomanenkoDenys RomanenkoDenys merged commit 112eaff into master Jun 24, 2024
2 checks passed
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 this pull request may close these issues.

2 participants