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

Replace internal fork of nbserverproxy with jupyter-server-proxy #58

Merged
merged 10 commits into from
May 30, 2019
Merged

Replace internal fork of nbserverproxy with jupyter-server-proxy #58

merged 10 commits into from
May 30, 2019

Conversation

yuvipanda
Copy link
Contributor

No description provided.

@yuvipanda
Copy link
Contributor Author

The idea is that when a new cluster gets created, we register a new tornado handler returned by make_dashboard_handler. We can unregister it when cluster is deleted. This also lets us use cluster names rather than IDs if needed, and remove state that is matching cluster IDs with clusters.

@yuvipanda
Copy link
Contributor Author

@ian-r-rose I also haven't actually tested this :D But it should work, and I copy pasted this code from another project I just did...

@ian-r-rose
Copy link
Collaborator

One thing I was at least trying to leave the door open to was dashboard servers that were running other places than localhost. I'm not aware of anywhere that this was actually done, but it seemed like it was a possibility for some remote cluster setups. Does this LocalProxyHandler approach remove that possibility?

@yuvipanda
Copy link
Contributor Author

Nope it should be fine. We can make that configurable as the next step.

@mrocklin
Copy link
Member

mrocklin commented Apr 27, 2019 via email

@quasiben
Copy link
Member

quasiben commented Apr 27, 2019 via email

@ian-r-rose
Copy link
Collaborator

Fixes #49. cc @jakirkham

@dhirschfeld
Copy link
Contributor

NB: My current distributed setup has a remote scheduler/dashboard. I am in the process of moving to k8s though but IIUC there are plans to allows remote schedulers there too

@ian-r-rose
Copy link
Collaborator

Thanks for the info @dhirschfeld. @yuvipanda, sounds like we should move remote-server proxying towards the front-burner.

@dhirschfeld
Copy link
Contributor

No need to rush on my account - it's just something to keep in mind.

xref: dask/dask-kubernetes#84

@ian-r-rose
Copy link
Collaborator

Okay, this should be good to go from my end.

@dhirschfeld I think this should continue working with your remote dashboard setup, but let us know if there are any troubles.

@ian-r-rose ian-r-rose changed the title [WIP] Replace internal fork of nbserverproxy with jupyter-server-proxy Replace internal fork of nbserverproxy with jupyter-server-proxy May 9, 2019
@ian-r-rose
Copy link
Collaborator

Moving forwards with this. Thanks @yuvipanda!

@ian-r-rose ian-r-rose merged commit eb61b9c into dask:master May 30, 2019
@jakirkham
Copy link
Member

Thanks so much all for working on this! 😄

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

Successfully merging this pull request may close these issues.

None yet

6 participants