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

Allow connecting to multiple kernel gateway servers #5680

Open
AgrawalAmey opened this issue Aug 14, 2020 · 3 comments
Open

Allow connecting to multiple kernel gateway servers #5680

AgrawalAmey opened this issue Aug 14, 2020 · 3 comments

Comments

@AgrawalAmey
Copy link

When we connect to kernel gateway, we loose access to local kernels and we can connect to only one kernel gateway at a time. One possible way to address this could be adding something like a UnionKernelManager which will take a list of objects implementing MappingKernelManagers. In case of conflicts/duplicates, the we can solve the kernel manager to use based on priority order.

@AgrawalAmey AgrawalAmey changed the title Allow connecting to kernel gateway servers Allow connecting to multiple kernel gateway servers Aug 14, 2020
@AgrawalAmey
Copy link
Author

@kevin-bates this functionality should help a lot in enterprise settings where the user would have access to multiple clusters with different privileges/resources.

@kevin-bates
Copy link
Member

Thanks for opening this issue @AgrawalAmey. I would love to be able to support multiple gateways and local kernels simultaneously but I think you'd need to tie kernel management with discovery (kernelspec management) - which is exactly the premise behind kernel providers which we hope to get into the jupyter_server 2.x or 3.x release.

With kernel providers, we can support the various gateway kernels (Hadoop YARN, Kubernetes, Docker) directly via the jupyter server. The kernel management portion of EG essentially goes away (although one would still have the ability to proxy all kernel management to a single gateway server, just not multiples, if they needed that separation).

should help a lot in enterprise settings where the user would have access to multiple clusters with different privileges/resources.

If you are targeting on-prem clusters (e.g., Hadoop YARN), EG can support multiple clusters today via the process-proxy configuration settings (within the kernelspec). Not sure if that would help you or not.

@AgrawalAmey
Copy link
Author

@kevin-bates thanks a lot for sharing the details about kernel providers. This looks very exciting. I will play around with the test package from the PR.

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

2 participants