Skip to main content

Gateway Provisioners - a package containing kernel provisioners supporting the deployment of remote and resource-managed kernels.

Project description

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:

  • KubernetesProvisioner - Kernels (residing in images) are launched as pods within a Kubernetes cluster
    • pip install gateway_provisioners[k8s]
  • DockerSwarmProvisioner - Kernels (residing in images) are launched as containers within a DockerSwarm cluster
  • DockerProvisioner - Kernels (residing in images) are launched as containers on the local server
    • pip install gateway_provisioners[docker]
  • YarnProvisioner - Kernels are launched into a Hadoop YARN cluster (primarily Spark)
    • pip install gateway_provisioners[yarn]
  • DistributedProvisioner - Kernels are launched across a set of hosts using SSH, round-robin
    • pip install gateway_provisioners

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:

  • jupyter-k8s-spec - for building kernel specifications relative to the KubernetesProvisioner
  • jupyter-docker-spec - for building kernel specifications relative to DockerProvisioner and DockerSwarmProvisioner
  • jupyter-yarn-spec - for building kernel specifications relative to the YarnProvisioner
  • jupyter-ssh-spec - for building kernel specifications relative to the DistributedProvisioner
  • jupyter-image-bootstrap - for injecting bootstrap support when building kernel-based images

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kise_gateway_provisioners-0.3.0.dev0.tar.gz (233.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file kise_gateway_provisioners-0.3.0.dev0.tar.gz.

File metadata

File hashes

Hashes for kise_gateway_provisioners-0.3.0.dev0.tar.gz
Algorithm Hash digest
SHA256 6724c944ee31a67776d3047b2b3c055afc827fb479d871579a472c9b45367ade
MD5 34c5d33e2bced8f7fcd080a7942d2c1d
BLAKE2b-256 84593d2502e7e8acbd058296a04153d203bc39227403ab18baf244403f5615a8

See more details on using hashes here.

File details

Details for the file kise_gateway_provisioners-0.3.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for kise_gateway_provisioners-0.3.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3fcac189836933f81eac27f96139ac444e8f0f46ef9e5026aa9269c7eb63373
MD5 d28ab865f1998dd76ac059ba2feeaa4c
BLAKE2b-256 7fbc8d376249eb284098734f121c108a3a59d48e613610f44b5834351307003e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page