rstudio / helm

Helm Resources for RStudio Products
MIT License
36 stars 28 forks source link

Charts do not work on OpenShift #605

Open kfeinauer opened 2 weeks ago

kfeinauer commented 2 weeks ago

Our containers require root privilege, and thus do not work on OpenShift out of the box. This can be worked around by allowing OpenShift to allow root containers (see https://serverfault.com/a/920539):

oc adm policy add-scc-to-user anyuid -z default

We should investigate what options we have here for getting our charts working on OpenShift. At the very least, we should document this issue for OpenShift users.

kfeinauer commented 2 weeks ago

Example error from Launcher running on OpenShift:

ERROR system error 1 (Operation not permitted); OCCURRED AT rstudio::core::Error rstudio::core::system::posix::temporarilyDropPrivileges(const rstudio::core::system::User&, const rstudio_boost::optional&) src/cpp/shared_core/system/PosixSystem.cpp:346; LOGGED FROM: int main(int, char const) src/cpp/job_launcher/LauncherMain.cpp:23