Permission denied #7498
Unanswered
dmicallefb
asked this question in
Q&A
Replies: 2 comments 2 replies
-
These things depend a lot on your infrastructure and platform. In general, that is responsible for setting the right permissions when mounting the volumes. Tuning the security context might help you of course. But yes, running as user 0 is not good -> fsGroup 0 might be fine. |
Beta Was this translation helpful? Give feedback.
2 replies
-
here the yaml
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have an issue with my strimzi deploy
the operator is on, but when I want to deploy a new cluster kafka on my kubernetes cluster, I have a error type of
mkdir: cannot create directory '/var/lib/zookeeper/data': Permission denied
I resolve it by with a securityContext :
` template:
Is there another way to resolve the issue of permission denied ?
Is it a good thing to set user with root privileges or may I to be more specific with the security context (with capabilities for exemple) ?
Beta Was this translation helpful? Give feedback.
All reactions