Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions deployment/kubernetes/templates/jupyterhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,14 @@ spec:
secretKeyRef:
name: jupyterhub-crypt
key: crypt-key
# The hub database lives on jupyterhub-claim0, so user servers can
# keep running while the hub restarts. Older hub images ignore it.
- name: JUPYTERHUB_CLEANUP_SERVERS
value: "false"
- name: JUPYTERHUB_CULL_IDLE_TIMEOUT
value: {{ default 0 $jupyterHub.cullIdleTimeout | quote }}
- name: JUPYTERHUB_CULL_EVERY
value: {{ default 600 $jupyterHub.cullEvery | quote }}
volumeMounts:
- name: jupyterhub-claim0
mountPath: /srv/jupyterhub
Expand Down
4 changes: 4 additions & 0 deletions deployment/kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ jupyterhub:
codex:
baseUrl: ""
model: ""
# Stop notebooks idle this many seconds (0 = never), checked every cullEvery
# seconds. User files stay on their volume. Older hub images ignore both.
cullIdleTimeout: 3600
cullEvery: 600
singleuser:
image:
repository: hbpmip/mip-jupyter
Expand Down
Loading