jupyterhub
Multi-user Jupyter installation
About this chart
JupyterHub Helm chart
Configure JupyterHub Helm repo
helm repo add d4n https://aristide.github.io/helm-repo/stable
Installing the Chart (toy-setup)
Minimal toy setup for testing purposes can be deployed using:
helm show values d4n/jupyterhub > config.yaml
helm upgrade --cleanup-on-fail --install jupyterhub d4n/jupyterhub --values config.yaml
Upgrading the Chart
You can use Helm to update JupyterHub version in a live release. Assuming your release is named as my-release, get the values using the command:
helm get values my-release > old_values.yaml
Then change the field image.tag in old_values.yaml file with JupyterHub image tag you want to use. Now update the chart using
helm upgrade -f old_values.yaml my-release d4n/jupyterhub
Default upgrade strategies are specified in the values.yaml file. Update these fields if you'd like to use a different strategy.
Configuration
Refer the Values file for all the possible config fields.
You can provide a YAML file that specifies parameter values while installing the chart. For example,
helm install --name my-release -f values.yaml d4n/jupyterhub
Uninstalling the Chart
Assuming your release is named as my-release, delete it using the command:
helm delete my-release
or
helm uninstall my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
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.3.7 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