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
@@ -19,6 +19,15 @@ spec:
securityContext:
runAsUser: 1000
fsGroup: 100
{{- if .Values.tcpKeepalive.enabled }}
sysctls:
- name: net.ipv4.tcp_keepalive_time
value: {{ .Values.tcpKeepalive.time | quote }}
- name: net.ipv4.tcp_keepalive_intvl
value: {{ .Values.tcpKeepalive.intvl | quote }}
- name: net.ipv4.tcp_keepalive_probes
value: {{ .Values.tcpKeepalive.probes | quote }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml .Values.imagePullSecrets | nindent 8 }}
@@ -63,6 +72,10 @@ spec:
- name: startup-script
mountPath: /usr/local/bin/start-notebook.d/startup-script.sh
subPath: startup-script.sh
- name: startup-script
mountPath: /etc/jupyter/jupyter_server_config.py
subPath: jupyter_server_config.py
readOnly: true
{{- if .Values.homeVolume.enabled }}
- name: home-volume
mountPath: {{ include "jupyterlab.homeDir" . }}