kf-notebooks
Helm chart for deploying KubeFlow Notebooks
About this chart
KF-Notebooks
A helm chart to deploy the Kubeflow Notebooks on a Kubernetes cluster.
Setup Helm Repository
helm repo add infracloud-charts https://infracloudio.github.io/charts
helm repo update
See helm repo for command documentation.
Installing the Chart
To install the chart with the release name kf-notebooks:
helm install kf-notebooks infracloud-charts/kf-notebooks
Uninstalling the Chart
To uninstall the kf-notebooks deployment:
helm uninstall kf-notebooks
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
The following table lists the configurable parameters of the KF-Notebooks chart and their default values.
| Parameter | Description | Default |
|---|---|---|
global.storageClassName | Global storage class name | "" |
nameOverride | String to partially override kf-notebooks.fullname template | "" |
fullnameOverride | String to fully override kf-notebooks.fullname template | "" |
service.enabled | Enable service creation | true |
service.port | Service port | 80 |
service.type | Service type | ClusterIP |
notebooks.jupyter.enabled | Enable Jupyter notebook | false |
notebooks.jupyter.name | Jupyter notebook name | jupyter-pytorch-cuda |
notebooks.jupyter.image.repository | Jupyter notebook image repository | kubeflownotebookswg/jupyter-pytorch-cuda-full |
notebooks.jupyter.image.tag | Jupyter notebook image tag | v1.9.0 |
notebooks.jupyter.image.pullPolicy | Jupyter notebook image pull policy | IfNotPresent |
notebooks.jupyter.resources | Jupyter notebook resources | See values.yaml for defaults |
notebooks.jupyter.storage.size | Jupyter notebook storage size | 5Gi |
notebooks.vscode.enabled | Enable VSCode notebook | false |
notebooks.vscode.name | VSCode notebook name | codeserver-python |
notebooks.vscode.image.repository | VSCode notebook image repository | kubeflownotebookswg/codeserver-python |
notebooks.vscode.image.tag | VSCode notebook image tag | v1.9.0 |
notebooks.vscode.image.pullPolicy | VSCode notebook image pull policy | IfNotPresent |
notebooks.vscode.resources | VSCode notebook resources | See values.yaml for defaults |
notebooks.vscode.storage.size | VSCode notebook storage size | 5Gi |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
Deploy kf-notebooks with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kf-notebooks 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 chartkf-notebooks is pinned at v0.1.3 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