Issue
Is it possible in JupyterHub that regardless of the user logged in, a kernel (e.g. Python) will always run with a specific user?
I think it might be possible with container-based Spawners (e.g. KubeSpawner or DockerSpawner), but not sure if LocalProcessSpawner can do it or if there is some configuration to the kernel.json that will allow this.
Solution
Not sure if this is what you're looking for.
Have you tried SimpleLocalProcessSpawner? If I remember correctly, it use the same $USER(same $USER who starts the hub) to run the kernel regardless which user is signing in. I personally use this for the integration tests, which works really well for me.
Answered By - Lydian
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.