Update jupyter configuration for network connection
This commit is contained in:
@@ -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" . }}
|
||||
|
||||
Reference in New Issue
Block a user