jupyterhub
JupyterHub brings the power of notebooks to groups of users. It gives users access to computational environments and resources without burdening the users with installation and maintenance tasks.
About this chart
JupyterHub packaged by Bitnami
JupyterHub brings the power of notebooks to groups of users. It gives users access to computational environments and resources without burdening the users with installation and maintenance tasks.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/jupyterhub
Introduction
Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.
This chart bootstraps a JupyterHub Deployment in a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Learn more about the default configuration of the chart.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/jupyterhub
These commands deploy JupyterHub on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release helm release:
$ helm uninstall my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the the deployment(s)/daemonset(s) | ["sleep"] |
diagnosticMode.args | Args to override all containers in the the deployment(s)/daemonset(s) | ["infinity"] |
Hub deployment parameters
| Name | Description | Value |
|---|---|---|
hub.image.registry | Hub image registry | docker.io |
hub.image.repository | Hub image repository | bitnami/jupyterhub |
hub.image.tag | Hub image tag (immutable tags are recommended) | 3.0.0-debian-11-r0 |
hub.image.digest | Hub image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
hub.image.pullPolicy | Hub image pull policy | IfNotPresent |
hub.image.pullSecrets | Hub image pull secrets | [] |
hub.baseUrl | Hub base URL | / |
hub.adminUser | Hub Dummy authenticator admin user | user |
hub.password | Hub Dummy authenticator password | "" |
hub.configuration | Hub configuration file (to be used by jupyterhub_config.py) | "" |
hub.existingConfigmap | Configmap with Hub init scripts (replaces the scripts in templates/hub/configmap.yml) | "" |
hub.existingSecret | Secret with hub configuration (replaces the hub.configuration value) and proxy token | "" |
hub.command | Override Hub default command | [] |
hub.args | Override Hub default args | [] |
hub.extraEnvVars | Add extra environment variables to the Hub container | [] |
hub.extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
hub.extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
hub.containerPorts.http | Hub container port | 8081 |
hub.startupProbe.enabled | Enable startupProbe on Hub containers | true |
hub.startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 10 |
hub.startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
hub.startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 3 |
hub.startupProbe.failureThreshold | Failure threshold for startupProbe | 30 |
hub.startupProbe.successThreshold | Success threshold for startupProbe | 1 |
hub.livenessProbe.enabled | Enable livenessProbe on Hub containers | true |
hub.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 10 |
hub.livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
hub.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 3 |
hub.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 30 |
hub.livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
hub.readinessProbe.enabled | Enable readinessProbe on Hub containers | true |
hub.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 10 |
hub.readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
hub.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 3 |
hub.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 30 |
hub.readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
hub.customStartupProbe | Override default startup probe | {} |
hub.customLivenessProbe | Override default liveness probe | {} |
hub.customReadinessProbe | Override default readiness probe | {} |
hub.resources.limits | The resources limits for the Hub containers | {} |
hub.resources.requests | The requested resources for the Hub containers | {} |
hub.containerSecurityContext.enabled | Enabled Hub containers' Security Context | true |
hub.containerSecurityContext.runAsUser | Set Hub container's Security Context runAsUser | 1000 |
hub.containerSecurityContext.runAsNonRoot | Set Hub container's Security Context runAsNonRoot | true |
hub.podSecurityContext.enabled | Enabled Hub pods' Security Context | true |
hub.podSecurityContext.fsGroup | Set Hub pod's Security Context fsGroup | 1001 |
Deploy jupyterhub with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has jupyterhub on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartjupyterhub is pinned at v3.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply