I’m trying to disable the default “Python (ipykernel)” kernel in my JupyterHub deployment; per this discussion on StackOverflow this can be done by setting c.KernelSpecManager.ensure_native_kernel = False
or launching the Lab with jupyter lab --KernelSpecManager.ensure_native_kernel=False
. How is this done when JupyterLab is being launched via JupyterHub, please?
There are two options:
- Create a jupyter server configuration file in a location that will be picked up by JupyterLab: Configuring a Jupyter Server — Jupyter Server documentation .
- Pass additional arguements in the spawner configuration: Spawners — JupyterHub documentation
1 Like
Ah, I see—I’d seen the former link but hadn’t realised that command-line flags to jupyterhub-singleuser
would be passed through to jupyter lab
. Thanks!
2 Likes