An analyst wants to query last quarter’s ERP data and plot it. A data scientist wants a GPU for an hour. If each one installs Python on a laptop, you get copies of sensitive data on laptops, a different library set on every machine and a GPU nobody can share. Project Jupyter is the open source family behind the notebook: a document where code, results and notes sit together. On a team, the piece that matters is JupyterHub, which runs a notebook server for each signed-in user. On Kubernetes, each user gets a pod, their own storage, and a login through your company identity system. The CNCF Landscape lists Project Jupyter with the one-line description “Interactive Computing” under Data › Data Science. It is a NON CNCF tool.
CNCF daily · Sprint 6, post 19 of 26 · Data (Data Science) · NON CNCF
At a glance
| Category | Data › Data Science (Landscape) |
| CNCF status | NON CNCF, listed in the CNCF Landscape |
| Project | Project Jupyter (jupyter.org); the Landscape repo link is github.com/jupyter/jupyter |
| Parts that matter here | Jupyter notebooks and JupyterLab (the interface), JupyterHub (multi-user), KubeSpawner (starts pods), Zero to JupyterHub (the Helm chart and guide) |
| Install on Kubernetes | Helm chart from the JupyterHub chart repository, configured with a config.yaml |
| Languages | Python first; other languages through kernels |
| State | Hub database for users and servers; a persistent volume for each user’s files |
| Version | Not checked for this post; read the chart’s release page and pin a version |
The problem JupyterHub solves
| Question | Notebooks on laptops | JupyterHub on Kubernetes |
|---|---|---|
| Where does the data go? | Copied to laptops | Stays inside the cluster |
| Same libraries for everyone | Each person installs their own | One image per profile, versioned |
| A GPU for a short job | Buy one, or wait for a shared machine | Pick a GPU profile; the node appears and goes away |
| Who can sign in | Nobody checks | Your identity provider |
| Lost work | Laptop dies | Home volume persists |
| Idle cost | Machine sits on | Idle servers are stopped |
Key concepts
| Term | Meaning |
|---|---|
| Notebook | A document with code cells, output and text |
| JupyterLab | The browser interface for notebooks, files and terminals |
| JupyterHub | Manages many users: sign-in, one server each, routing |
| Spawner | The part that starts a user’s server; KubeSpawner starts a pod |
| Authenticator | The part that checks who the user is (OAuth, OIDC, LDAP and others) |
| Proxy | Routes browser traffic to the hub or to a user’s server |
| Profile | A choice offered at start, such as “small CPU” or “GPU”, tied to an image and resources |
| Culler | Stops servers that have been idle for a set time |
| Home volume | A persistent volume claim that keeps a user’s files between sessions |
Architecture
Blue is the user, login and storage, grey is the proxy, pods and nodes and teal is JupyterHub. Open the zoomable diagram, or download it as SVG or PNG.
| Component | Responsibility |
|---|---|
| Analyst | Opens the hub URL in a browser and signs in. |
| Hub proxy | Receives traffic and routes it to the hub or to that user’s notebook pod. |
| JupyterHub | Handles login, decides who may start a server, and asks Kubernetes for a pod. |
| Identity provider | Confirms who the user is through OAuth or OIDC. |
| Hub database | Remembers users and running servers. |
| User notebook pod | A private server from the chosen image, with the chosen CPU, memory or GPU. |
| Home volume | Persistent storage mounted into that pod. |
| GPU or CPU node | Capacity that Karpenter can add when a pod needs it. |
One notebook session
- Token. The user signs in with the company login.
- Start. The hub starts a pod for that user.
- Open. The home volume is mounted and the notebooks are back.
- Idle. The user works; later the server goes idle.
- Free. The culler stops the pod and the node can scale down.
Open the zoomable flow diagram, or download it as SVG or PNG.
Real world: the finance analyst and the shared GPU
A finance analyst needs to test a forecasting idea on a year of ledger data. Before, she exported a CSV to her laptop, which is exactly what the security team does not want. With JupyterHub, she signs in with her company account, picks the “small CPU” profile, and reads the data from inside the cluster. Two weeks later a data scientist picks the “GPU” profile, a node is added for him, and it is removed after his server goes idle. Neither of them copied data out, and both come back to their notebooks the next day.
Install JupyterHub on Kubernetes
These steps follow the Zero to JupyterHub installation guide. I did not run them for this post, so the chart version is a placeholder you must fill in.
helm repo add jupyterhub https://hub.jupyter.org/helm-chart/
helm repo update
The older guides show https://jupyterhub.github.io/helm-chart/ for the same repository; use the address in the current guide.
Create a config.yaml. As of chart version 1.0.0 the guide says you need no configuration to start, so an empty file with comments works for a first install. Then:
helm upgrade --cleanup-on-fail \
--install jupyterhub jupyterhub/jupyterhub \
--namespace jhub \
--create-namespace \
--version=<chart-version> \
--values config.yaml
kubectl get pod --namespace jhub # wait for hub and proxy pods
kubectl get service --namespace jhub # find the proxy-public address
After each change to config.yaml, run the same helm upgrade command again.
Try it
A starting config.yaml for the ERP project, using the chart’s documented value groups. Check every key against the reference for your chart version before using it.
# config.yaml (sketch: verify keys in the chart reference)
singleuser:
storage:
capacity: 10Gi # home volume per user
cpu:
limit: 2
memory:
limit: 4G
profileList:
- display_name: "Small CPU"
default: true
- display_name: "GPU"
kubespawner_override:
extra_resource_limits:
nvidia.com/gpu: "1"
cull:
enabled: true # stop idle servers
timeout: 3600 # seconds idle before stopping
hub:
config:
JupyterHub:
admin_users: ["admin-user"]
# authenticator settings for your identity provider go here
Then open the proxy-public address, sign in, pick a profile and wait for the server to start. The first start can take minutes while an image is pulled or a node is added.
Production reference design
- Real authentication. Use your identity provider (OAuth or OIDC) and restrict who may log in; do not use a shared password.
- HTTPS. Put the proxy behind TLS, through your ingress or gateway.
- Images per profile. Build images in CI with pinned libraries, scan them and pull them from a private registry.
- Resource limits. Set CPU and memory limits per profile, and a namespace quota, so one user cannot take the cluster.
- GPU profiles on their own nodes. Use node selectors and tolerations so only GPU profiles land on GPU nodes, and let Karpenter add and remove them.
- Culling. Turn on the idle culler and choose a timeout that matches how people work.
- Storage. Use a storage class with backups for home volumes, and set a size limit per user.
- Hub database. Use a managed database for production instead of the default small one.
- Pin and test upgrades. Pin the chart version, read the release notes, and upgrade a test hub first.
- Network policy. Restrict what notebook pods can reach, especially outbound traffic.
Security
- A notebook is a shell. Users can run any code in their pod, so isolation depends on pod security settings, network policy and node separation.
- Data access. Give notebook pods access to data through scoped credentials, not shared keys stored in notebooks.
- Authentication. A misconfigured authenticator can let anyone in; set an allowed-users or allowed-groups rule.
- Outbound traffic. Notebooks can send data anywhere unless you limit egress.
- Images. Pin and scan the images users run; a custom image can contain anything.
- Secrets in notebooks. Notebooks get committed and shared; use a secret store and scan for tokens.
- Multi-tenant ERP. For the tenant-aware setup in this project, run user pods in the tenant’s namespace so tenant quotas and policies apply.
Troubleshooting
This table comes from the Zero to JupyterHub documentation and common Kubernetes patterns. I did not run JupyterHub for this post, so check each entry on your cluster.
| Symptom | Likely cause | How to check | Fix |
|---|---|---|---|
| Helm install fails | Wrong repo address or missing --version |
helm repo list, the error text |
Add the repo from the current guide and pass a real chart version |
hub pod not Ready |
Config error or database not available | kubectl logs for the hub pod |
Fix the config.yaml value and run the upgrade again |
| No external address | proxy-public service has no load balancer |
kubectl get service -n jhub |
Use a LoadBalancer or ingress, or port-forward for a test |
| Login fails | Authenticator settings or callback URL | Hub logs | Match the callback URL with your identity provider and allow the user |
| Server stuck in Pending | No node fits the request | kubectl describe pod |
Lower the request or let the autoscaler add a node |
| Server will not start | Image pull error | Pod events | Fix the image name or add an image pull secret |
| Files disappear | No persistent volume | kubectl get pvc -n jhub |
Enable per-user storage and a storage class |
| GPU profile Pending | No GPU node or missing device plugin | kubectl describe pod; node resources |
Add a GPU node pool and the device plugin |
| Servers never stop | Culler off | Chart values | Enable cull and set a timeout |
| Config change has no effect | Upgrade not run | helm get values jupyterhub -n jhub |
Run helm upgrade again with the file |
Usage cases
- Analyst workspace. SQL and Python on ERP data without copying it out.
- Data science. Experiments on a GPU profile that disappears after use.
- Teaching and onboarding. A ready environment per person, with the same libraries.
- Pipeline prototyping. Try a step in a notebook, then turn it into a pipeline step. See the Kubeflow Pipelines brief.
- In the Sprint 6 project. Analysts query ClickHouse and data scientists prepare the forecasting data, in tenant-aware pods on Karpenter nodes.
Operational considerations
- A notebook is not production. Move working code into pipelines and services; keep notebooks for exploration.
- Idle cost. GPU time is the main cost; short culling timeouts help, with a clear message to users.
- Image sprawl. Limit the number of profiles and rebuild images regularly.
- Upgrades. The hub, chart and user images change on separate schedules; test them together.
- Support load. Users will ask for packages; decide whether they may install their own or must request an image change.
- Not CNCF. It is a community project outside the CNCF; follow its own release notes.
Adoption
JupyterHub is widely used in universities and research groups. I did not verify named adopters for this post, so none are listed.
Alternatives
| Solution | Model | Best suited to |
|---|---|---|
| Kubeflow Notebooks | Notebook servers managed as Kubernetes resources inside Kubeflow | Teams already on the Kubeflow platform |
| marimo | Reactive notebook, listed in the same Landscape group | Reproducible notebooks that can run as scripts or apps |
| Managed notebook services | Cloud-run notebooks such as SageMaker or Vertex AI workbenches | Teams that prefer a managed service |
| Coder or code-server | Browser development environments | Developers who want full IDEs more than notebooks |
| Apache Zeppelin | Web notebook for data exploration | Teams already using it with Spark |
| Local notebooks | Install on each laptop | A single person with non-sensitive data |
Strengths and limitations
| Strengths | Limitations |
|---|---|
| Open source, widely known interface | Not a CNCF project |
| One private pod per user | Security depends on how you harden the pods |
| Profiles for CPU, memory and GPU | Cluster capacity and GPU cost need watching |
| Works with many identity providers | Authenticator setup takes care |
| Home volumes keep work between sessions | Storage and backups are your job |
| Official Helm chart and guide | Chart keys change between versions |
Recommendation
Adopt for analyst and data-science workspaces that must not copy data out. For the ERP project, deploy the official JupyterHub chart with sign-in through your identity provider, two or three pinned profiles (small CPU, large CPU, GPU), per-user volumes, an idle culler, and user pods in the tenant’s namespace. Keep notebooks for exploration and move anything that matters into pipelines. If you only have one or two analysts and no sensitive data, local notebooks are enough.
References: Zero to JupyterHub: installing JupyterHub · Zero to JupyterHub with Kubernetes (stable docs) · Chart configuration reference · zero-to-jupyterhub-k8s repository · Project Jupyter · CNCF Landscape

