Skip to main content

JupyterHub proxy implementation with traefik

Project description

JupyterHub Traefik Proxy

Build Status Documentation Status

An implementation of the JupyterHub proxy api with traefik: an extremely lightweight, portable reverse proxy implementation, that supports load balancing and can configure itself automatically and dynamically.

There are two versions for the proxy, depending on how traefik stores the routes:

  • TraefikTomlProxy - for smaller, single-node deployments
  • TraefikEtcdProxy - for distributed setups

Instalation

You can find a complete installation guide here.

Documentation

The latest documentation is available at: https://jupyterhub-traefik-proxy.readthedocs.io/en/latest/.

Running the tests

There are some tests that use etcdctl command line client for etcd. Make sure to set environment variable ETCDCTL_API=3 before running the tests, so that the v3 API to be used, e.g.:

$ export ETCDCTL_API=3

You can then run the all the test suite from the traefik-proxy directory with:

$ pytest -v ./tests

Or you can run a specific test with:

$ pytest -v ./tests/<test-file-name>

Example setups:

JupyterHub configuration examples

You can use the configuration examples in the examples directory in order to configure JupyterHub to run with TraefikProxy.

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

jupyterhub-traefik-proxy-0.1.1.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

jupyterhub_traefik_proxy-0.1.1-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file jupyterhub-traefik-proxy-0.1.1.tar.gz.

File metadata

  • Download URL: jupyterhub-traefik-proxy-0.1.1.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for jupyterhub-traefik-proxy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 59b4e634e28ab657b7e457b842dd21e429aecf6ab41ef2686d75a0d6a120491e
MD5 91a40756c42f2cedc4baea7fbfd243fb
BLAKE2b-256 3f66f602d85abfb642becfef31946c1015926be46498d7b8645475e0357ab05b

See more details on using hashes here.

Provenance

File details

Details for the file jupyterhub_traefik_proxy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jupyterhub_traefik_proxy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for jupyterhub_traefik_proxy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6af8838c1e9b25c49dbae12e0c5ee9531f7ff9d241015463371c73ff799d2af
MD5 3c95a65c5ce55247be2da6373b3373ac
BLAKE2b-256 e36ab27a55c96b1c9805f8060c4c86da2a5c0ccd675f0c45ecf2de985d1e8b5d

See more details on using hashes here.

Provenance

Supported by

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