When using JupyterHub on kubernetes, it is not typical for anything to run as root. Neither the Hub nor users. KubeSpawner.uid <https://jupyterhub-kubespawner.readthedocs.io/en/latest/spawner.html#kubespawner.KubeSpawner.uid>sets the user id of the container, and uses the image's uid by default. If you use zero-to-jupyterhub <https://z2jh.jupyter.org/>, nothing should run as root by default.
On Thu, May 25, 2023 at 7:41 PM 1 1 <cdsherma...@gmail.com> wrote: > Is there any kind of blog or documentation that has a solution for not > running juypterhub as root and spawning pods w/ non root UID's? > > Still having a hard time making sense of the kubespawner docs. > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jupyter+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/41702754-8891-4ecb-bb36-a7cebbd0498cn%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/41702754-8891-4ecb-bb36-a7cebbd0498cn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAHNn8BWUG8ptTW4x2XYOcPwUJWRxhSuH3hL4UG8%3D65D0eaj0Gw%40mail.gmail.com.