Helm Charts
Get started by adding this Helm repo
helm repo add polus https://polusai.github.io/notebooks-hub/_static/charts
JupyterHub
Install the chart: helm install polus/polus-jupyterhub --generate-name
Polus-jupyterhub
Polus JupyterHub
Configuration
The following table lists the configurable parameters of the Polus-jupyterhub chart and their default values.
Parameter |
Description |
Default |
---|---|---|
|
Docker repo for JupyterHub image |
|
|
JupyterHub image tag in the repo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
K8s StorageClass for volumes |
|
|
Size of the user+shared notebooks PVC |
|
|
Size of the environment modules PVC |
|
|
Name prefix of the user+shared notebooks PVC |
|
|
Name prefix of the environment modules PVC |
|
|
Name prefix of the datasets PVC |
|
|
|
|
|
|
|
|
Using Ingress is optional and requires preconfiguration within the cluster |
|
|
Host name for external access |
|
|
Using TLS certs via secrets at the Ingress level |
|
|
Name of Secret containing TLS private key and cert |
|
|
|
|
|
Supported types: (oauth and password) |
|
|
|
|
|
Auth service url |
|
|
Unique tenant configured in LS-Auth |
|
|
Unique client ID configured in the above tenant |
|
|
|
|
|
|
|
|
|
|
|
Environment modules to be installed by the post-install Hook |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Timeout in hours after which the JupyterLab server is shut down |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Storage class might be different from hub.storage.storageClass to accomodate the issue in EFS CSI driver |
|
|
|
Notebooks Hub API
Install the chart: helm install polus/notebooks-hub-api --generate-name
Notebooks-hub-api
The Helm Chart for the API Backend for the Notebooks Hub Application
Configuration
The following table lists the configurable parameters of the Notebooks-hub-api chart and their default values.
Parameter |
Description |
Default |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using Ingress is optional and requires preconfiguration within the cluster |
|
|
Host name for external access |
|
|
|
|
|
Using TLS certs via secrets at the Ingress level |
|
|
Name of Secret containing TLS private key and cert |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Notebooks Hub UI
Install the chart: helm install polus/notebooks-hub-ui --generate-name
Notebooks-hub-ui
The Helm Chart for the UI Frontend for the Notebooks Hub Application
Configuration
The following table lists the configurable parameters of the Notebooks-hub-ui chart and their default values.
Parameter |
Description |
Default |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using TLS certs via secrets at the Ingress level |
|
|
Name of Secret containing TLS private key and cert |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Minimal Test Deployment of JupyterHub
To test the basic functionality of the application (for example in Docker Desktop K8s cluster or a separate namespace in the cloud cluster) you can select the minimal viable configuration without auth, persistent database and any other integrations enabled.
Create local-values.yaml with the following content
hub: storage: storageClass: aws-efs storagePerUser: 1Gi sharedNotebooksStorage: 1Gi modulesStorage: 1Gi service: type: NodePort postgresql: enabled: false
Install chart dependencies
helm repo add bitnami https://charts.bitnami.com/bitnami helm dependency update helm dependency build
Deploy the application
helm upgrade --install --generate-name deploy/Helm/jupyterhub --values local-values.yaml --namespace ${KUBERNETES_NAMESPACE}