Repository navigation
JupyterHub: keep notebooks across hub restarts, stop idle notebooks - #27
Merged
Merged
Conversation
The hub database is already on jupyterhub-claim0, so the hub can leave user servers running when it restarts and pick them up again.
jupyterhub.cullIdleTimeout (default 3600s, 0 = never) and cullEvery (600s) drive the hub's idle culler. User files stay on their volume.
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Two JupyterHub settings for the chart. Both need the hub image from the related mip-jupyter PR; older hub images ignore them.
JUPYTERHUB_CLEANUP_SERVERS=false). The hub database already lives onjupyterhub-claim0, so a restarted hub picks running servers up again. Hub updates no longer kick users out of their notebooks or force a new login.jupyterhub.cullIdleTimeout(default3600seconds,0= never) andjupyterhub.cullEvery(default600). They run the hub's idle culler. Files stay on the user's volume; open tabs, running cells and the AI chat count as activity.How it was tested
helm templaterenders both env vars;cullIdleTimeout=0renders"0"(culler off).Related PRs