jupyter-server / gateway_provisioners

Provides remote kernel provisioners for various resource-managed clusters.
https://gateway-provisioners.readthedocs.io
Other
33 stars 15 forks source link
docker docker-swarm hadoop-yarn jupyter jupyter-client jupyter-enterprise-gateway jupyter-kernel-gateway jupyter-kernels jupyter-server kubernetes pods ssh

Gateway Provisioners

Build Status Documentation Status

Gateway Provisioners provides kernel provisioners that interact with kernels launched into resource-managed clusters or otherwise run remotely from the launching server. This functionality derives from Jupyter Enterprise Gateway's process proxy architecture. However, unlike process proxies, you do not need to use a gateway server to use these provisioners - although, in certain cases, it is recommended (for example when the launching server does not reside within the same network as the launched kernel).

Here is the current set of provisioners provided by this package, many of which have their requirements conditionally installed:

This package also includes command-line utilities that can be used to create kernel specifications or inject bootstrap files into docker images relative to the desired provisioner:

Note: The container-based provisioners (KubernetesProvisioner, DockerSwarmProvisioner, and DockerProvisioner) require that the hosting server also be running within the same environment/network. As a result, these provisioners may be better suited for use by a Gateway Server (e.g., Jupyter Kernel Gateway) so as to not require the Notebook/Lab server also be deployed in a container.


Installation

Detailed deployment instructions are located in the Operators Guide of the project docs. Here's a quick start using pip:

# install from pypi
pip install --upgrade gateway-provisioners

# options for the command-line utilities can be viewed using '--help-all'
jupyter yarn-spec install --help-all

# run it with default options to install a Python-based kernelspec for Hadoop Yarn
jupyter yarn-spec install

Contributing

The Contribution page includes information about how to contribute to Gateway Provisioners. We encourage you to explore the other topics in our Contributors Guide like how to set up a development environment, or gaining an understanding of the system architecture, among other things.