feat: add /dev/shm shared memory volume to jupyterlab deployment

Mount RAM-backed emptyDir at /dev/shm to remove the default 64MB limit,
preventing Bus errors when using PyTorch DataLoader or NumPy multiprocessing.
This commit is contained in:
ychangkim
2026-03-26 18:13:44 +09:00
parent af34d9280e
commit b4213e4872
@@ -75,6 +75,8 @@ spec:
- name: gv-{{ .claimName }}
mountPath: {{ .mountPath }}
{{- end }}
- name: dshm
mountPath: /dev/shm
volumes:
- name: localtime
hostPath:
@@ -98,3 +100,6 @@ spec:
persistentVolumeClaim:
claimName: {{ .claimName }}
{{- end }}
- name: dshm
emptyDir:
medium: Memory