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

Support mounting with SELinux mount options to prevent big volumes from not being able to mount into pods #582

Open
sharkymcdongles opened this issue Mar 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sharkymcdongles
Copy link

TL;DR

If you have a large PVC in k8s/k3s with selinux enabled, the volume won't mount to the pod because on boot containerd tries to assign selinux labels to all files leading to the pod never starting.

Expected behavior

Allow selinux context mounting and change the csidriver spec to announce it as described here:

https://kubernetes.io/blog/2023/04/18/kubernetes-1-27-efficient-selinux-relabeling-beta/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant