Repository navigation
mon pods crashlooping due to permission issue. #15549
Unanswered
Mahesh-Gunda-Maersk
asked this question in
Q&A
Replies: 1 comment 5 replies
|
The |
5 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.
Uh oh!
There was an error while loading. Please reload this page.
mon pods are crashlooping with below error. though we set ROOK_HOSTPATH_REQUIRES_PRIVILEGED to true, also SElinux is enabled.
setting the below environment variable in ceph-operator is not helping. does this only work on OpenShift ? ours just vanila k8s on multi-node

Please note, when we manually edit the rook-ceph-mon deployment and set runAsUser: 0 under seucrityContext. then the pods came up fine.
but these changes are not persistent. whenever operator kick starts or restarts mon pod we face the same issue again.
Please help how can we over come this problem.
All reactions