Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed dask dashboard into the Jupyterhub #49

Open
roxyboy opened this issue Feb 22, 2021 · 1 comment
Open

Embed dask dashboard into the Jupyterhub #49

roxyboy opened this issue Feb 22, 2021 · 1 comment
Labels
Enhancement An improvement to something or creating something new.

Comments

@roxyboy
Copy link

roxyboy commented Feb 22, 2021

In the current pilot deployment, we configure the dask scheduler via dask.distributed and dask_gateway with the dask dashboard appearing as an external link:

from dask.distributed import Client
from dask_gateway import Gateway

gateway = Gateway()
cluster = gateway.new_cluster()

Would it be possible to have the dashboard embedded in the Jupyterhub by default as it would be for example by installing the dask-labextension package so that we could configure the dask scheduler directly via the dashboard?

@roxyboy roxyboy added the Enhancement An improvement to something or creating something new. label Feb 22, 2021
@roxyboy roxyboy changed the title Dask dashboard embeded into the Jupyterhub Embed dask dashboard into the Jupyterhub Feb 22, 2021
@choldgraf choldgraf added support and removed support labels Apr 27, 2021
@consideRatio
Copy link
Member

This issue is not clear to me yet.

It is possible to use JupyterLab to present the dashboard in panels next to notebooks etc rather than in a separate tab. It is not very user friendly yet though. What you can do currently:

  1. visit the dashboard in a separate tab and copy the full URL from your browser tab
  2. go back to jupyterlab showing you the notebooks etc
  3. open the dask-labextension panel on the left side
  4. paste the URL in the text field on the top
  5. press ENTER (don't press the search-like button, its not the same - see Enter Dashboard URL text field: pressing Enter is different from pressing the search button dask/dask-labextension#202)

Other related issues for us that have a JupyterHub configured with dask-gateway

@choldgraf choldgraf removed the support label Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement An improvement to something or creating something new.
Projects
None yet
Development

No branches or pull requests

3 participants