SELinux hostPath issue on 2.x #710
-
After creating a new cluster with 2.x version of the terraform module, I am now observing permission denied errors on Promtail. What would be the easiest way to fix the labels/policies to make hostPath RW mount working? I am no expert in SELinux, and I've read this article discussing a similar issue but I don't know how to properly apply it to MicroOS and K3S combo. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I also have a similar issue now with node-exporter The obvious quick fix is to run both pods as privileged, but I wonder if there is a more security-friendly solution. |
Beta Was this translation helpful? Give feedback.
-
@Viktor-Osika @thomasprade Sorry just seeing this now. It's very easy to add the needed SELinux rules, see here #697 (comment). |
Beta Was this translation helpful? Give feedback.
@Viktor-Osika @thomasprade Sorry just seeing this now. It's very easy to add the needed SELinux rules, see here #697 (comment).