Add a note somewhere in the README that selinux enablement can lead to pods trying to use volumes with many files never booting #1359
sharkymcdongles
started this conversation in
Ideas
Replies: 1 comment
-
@sharkymcdongles PR welcome if you want to make our docs more complete with this special use case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I got bit by this, and it took awhile to figure out because you get very little in the way of logs about this outside of the containerd logs in the k3s folder on the node. These logs don't even make it to journalctl sadly adding further difficulty when investigating.
Long story short disabling selinux for a nodepool to use these volumes is the best workaround in the short term. Best solution will be this: https://kubernetes.io/blog/2023/04/18/kubernetes-1-27-efficient-selinux-relabeling-beta/
But for this we need this to be closed first:
hetznercloud/csi-driver#582
Beta Was this translation helpful? Give feedback.
All reactions