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

mention how to proxy dashbord link in README #183

Open
mathause opened this issue Apr 20, 2021 · 5 comments
Open

mention how to proxy dashbord link in README #183

mathause opened this issue Apr 20, 2021 · 5 comments

Comments

@mathause
Copy link

It took a lot of digging to find out how to connect to a dashboard on a remote machine/ jupyterhub instance. Finally I found: https://jobqueue.dask.org/en/latest/interactive.html#configuration and it works well. Could we link to this in the README?

That is the recommended way to connect to a dashboard via jupyterhub? How would a sysadmin best set that up for all users?

DASK_DISTRIBUTED__DASHBOARD__LINK="/user/{JUPYTERHUB_USER}/proxy/{port}/status"

before starting jupyterhub?

@jacobtomlinson
Copy link
Member

That's definitely a valid way to configure this. I would support adding a section to the README. Do you have any interest in raising a PR to add this?

@jacobtomlinson
Copy link
Member

Depending on which spawner you are using for Jupyter Hub you should be able to configure environment variables for each Jupyter session.

@fperez
Copy link

fperez commented Jul 28, 2021

Big +1 on documenting this a bit more clearly right away in the README, we were just looking at this issue with @consideRatio and eventually the above proved very helpful!

@mathause
Copy link
Author

I think I had issues with this because I had an old config file around - now it seems to work without setting the environment variable.

@tlvu
Copy link

tlvu commented Apr 14, 2022

DASK_DISTRIBUTED__DASHBOARD__LINK="{JUPYTERHUB_SERVICE_PREFIX}proxy/{port}/status"

Is even better since it will take care of everything in front of /user, if any.

Example on my system:

                "JUPYTERHUB_USER=lvu",           
                "JUPYTERHUB_BASE_URL=/jupyter/",
                "JUPYTERHUB_SERVICE_PREFIX=/jupyter/user/lvu/",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants