Skip to content

Support multiple JupyterHubs behind one traefik instance #279

Description

@kreuzert

We're currently hosting several JupyterHubs in a single K8s Cluster with Z2JH. Currently each one has its own configurable http proxy. We're looking for opportunities to replace the chps with an HA-Traefik Setup.

I found no way in the current state to run multiple JupyterHubs behind a single traefik instance. We will probably want to use redis as a provider, so I've seen the kv_traefik_prefix and kv_jupyterhub_prefix options. As far as I understand it, these option do not allow us to run multiple JupyterHubs behind a single traefik proxy.

JupyterHub Traefik Proxy relies on the Path/PathPrefix in the rules where to forward the Request to.

Proposed change

The option to add some kind of "namespace", e.g. in form of a configurable prefix, for each JupyterHub. And the option to enforce the hostname when creating rules, to distinguish the requests between multiple jupyterhubs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions