I want to install Rstudio server on kubernetes (not the enterprise version) in our kubernetes cluster. Since there are restrictions on host filesystem and root permissions , I need to set runAsNonRoot , disabling privilege escalation and eetc.
I couldnt find which hel chart / docker image to use for this purpose. Can you help?
Hi @vedoa I'm failing to understand what setting under section 4 helps to enable to run the container as nonroot.
I'm using below spec for the pod for example
The pod wouldnt start if I have the securitycontext set as above. Am I missing something?
If I set ROOT env variable to false, the container still runs as root user.
My cluster has restriction on user workloads that it need to have below security contexts set
If I set container security context or pod security context to run as non-root, the container fail to start. Failed to load logs: container "rstudio" in pod "rstudio-deployment-777cc89c9-m5c8f" is waiting to start: CreateContainerConfigError