Adding an option to run Notebook with Kernel Gateway

43 views
Skip to first unread message

Shiti Saxena

unread,
Oct 30, 2017, 2:26:20 PM10/30/17
to jup...@googlegroups.com
Hi,

We propose to make 2 handlers in Jupyter Notebook configurable. Currently, Jupyter Notebook supports a configurable handler for Login. We want to make the following settings configurable at run-time:
1. 'services.kernels.handlers'
2. 'services.kernelspecs.handlers'
Additionally, if the Jupyter Community wishes, we could also add the files from the nb2kg demo to the Jupyter Notebook project so that others can use the integration just by changing the configuration. 

These changes will allow users to use Kernel Gateway with Notebook as shown in the nb2kg demo. 


Thanks,
Shiti

Luciano Resende

unread,
Oct 30, 2017, 7:38:11 PM10/30/17
to jup...@googlegroups.com
We have started looking into the possibility to have NB2KG into Notebooks and we might look into providing a PR in the next couple of weeks.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/96FB7F1C-3480-413E-A34F-92C5C108A058%40apple.com.
For more options, visit https://groups.google.com/d/optout.



--

Kevin Bates

unread,
Oct 31, 2017, 11:00:25 AM10/31/17
to Project Jupyter
This kind of change strikes me as creating a very appealing synergy between something like Jupyter Hub and Jupyter Enterprise Gateway.  For example, if Notebook parameters can be varied for a given user and spawner (sorry, I'm not that familiar with Hub), then you could easily configure a Hub that sits in front of a set of clusters where each cluster has kernels managed by Enterprise Gateway thereby gaining user segmentation (perhaps based on other criteria like job size, priority, etc.).  That said, I'm sure you could create an "nb2kg-spawner" today, but having it baked into Notebook makes a lot sense to me.


On Monday, October 30, 2017 at 4:38:11 PM UTC-7, Luciano Resende wrote:
We have started looking into the possibility to have NB2KG into Notebooks and we might look into providing a PR in the next couple of weeks.
On Mon, Oct 30, 2017 at 11:26 AM, Shiti Saxena <sh...@apple.com> wrote:
Hi,

We propose to make 2 handlers in Jupyter Notebook configurable. Currently, Jupyter Notebook supports a configurable handler for Login. We want to make the following settings configurable at run-time:
1. 'services.kernels.handlers'
2. 'services.kernelspecs.handlers'
Additionally, if the Jupyter Community wishes, we could also add the files from the nb2kg demo to the Jupyter Notebook project so that others can use the integration just by changing the configuration. 

These changes will allow users to use Kernel Gateway with Notebook as shown in the nb2kg demo. 


Thanks,
Shiti

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/96FB7F1C-3480-413E-A34F-92C5C108A058%40apple.com.
For more options, visit https://groups.google.com/d/optout.

Shiti Saxena

unread,
Oct 31, 2017, 8:34:20 PM10/31/17
to jup...@googlegroups.com
Hi,

I couldn't find any existing PRs for this so I've created one with these changes


Is there a discussion about this elsewhere? If yes, please point me to it.
I would happy to incorporate the planned changes in my PR.

Thanks,
Shiti


Reply all
Reply to author
Forward
0 new messages