-
Notifications
You must be signed in to change notification settings - Fork 30
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 Bottlerocket OS #86
Comments
Thank you for the feature request. I do not have a workaround or ETA to share at this time unfortunately, but Bottlerocket is a great option for a k8s OS and I agree it would be awesome if the driver added compatibility. As you're seeing it's the SELinux configuration that prevents this from functioning currently. Bottlerocket is security focused, so has a very locked down SELinux configuration that the CSI driver will need to work with specifically. |
Is configuring SELinux to add the permissions required by the driver from |
Hi @nalshamaajc . Tweaking SELinux on Bottlerocket seems is a good approach, but I'm not familiar with SELinux and don't know what to adjust. Per Bottlerocket doc, define |
@yubingjiaocn , @nalshamaajc can you please help letting us know if you tired enabling SELinux on bottlerocket |
I believe you cannot add this to bottlerocket using SElinux as the actual CSI uses systemd to mount the storage. Meaning they need to rewrite the code to enable this. |
Will there be support for this? and do we have ETA for same |
The team is actively working on this feature. We'll update this issue when we release this feature. |
Bottlerocket support has been released in v1.4.0. It is currently available via helm install and will be rolling out as an eks addon next week. |
/feature
Is your feature request related to a problem? Please describe.
When I'm trying to mount S3 bucket to a pod running on Bottlerocket OS worker node, mount failed and the error on pod events said:
MountVolume.SetUp failed for volume "<Redacted>" : rpc error: code = Internal desc = Could not mount "<Redacted>" at "/var/lib/kubelet/pods/<Redacted>/volumes/kubernetes.io~csi/<Redacted>/mount": Mount failed: Failed to start systemd unit on host: SELinux policy denies access: Permission denied output:
System Info from
kubectl describe node
:Describe the solution you'd like in detail
I know Bottlerocket is not at the first batch of support. Is there any workaround or ETA to support Bottlerocket?
The text was updated successfully, but these errors were encountered: