Update jupyter configuration for network connection

This commit is contained in:
wbsong111
2026-05-06 09:00:16 +09:00
parent 547dc58e8b
commit 162d9b2c2a
6 changed files with 72 additions and 8 deletions
@@ -10,3 +10,10 @@ data:
#!/bin/bash
apt-get update -y
python -m pip install --no-cache-dir --upgrade pip
jupyter_server_config.py: |
# Idle kernel culling
# idleCullTimeout=0: culling disabled; positive value: seconds before shutdown
c.MappingKernelManager.cull_idle_timeout = {{ int .Values.jupyterConfig.idleCullTimeout }}
c.MappingKernelManager.cull_interval = {{ int .Values.jupyterConfig.idleCullInterval }}
# Do not cull kernels that have an active connection (browser tab open)
c.MappingKernelManager.cull_connected = False