dask / dask-labextension

JupyterLab extension for Dask
BSD 3-Clause "New" or "Revised" License
311 stars 62 forks source link

Multiple Kernels in a JupyterHub Setup #207

Open marcelned opened 3 years ago

marcelned commented 3 years ago

I am running a JupyterHub setup, with JupyterLab installed on the kernel that is running the Hub server itself.Screenshot 2021-08-03 at 10 06 26 Users have the option of selecting a kernel from the Lab interface.

Should I install the Extension in the kernel that is running JHub? Or should the extension be installed on each kernel?

jacobtomlinson commented 3 years ago

The extension needs to be installed in the same environment as Jupyter Lab.

However this does mean that if you create Dask clusters using the GUI they will also be running within the Jupyter kernel and not the one that is active in the notebook. We are aware of this limitation and it's something that we would like to address.

@dpeterk has been working on dask/distributed#5013 as one solution to this.