From b4213e4872d7ffdfc4166c05b486e7d3ee81f3ad Mon Sep 17 00:00:00 2001 From: ychangkim Date: Thu, 26 Mar 2026 18:13:44 +0900 Subject: [PATCH] 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. --- manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml b/manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml index 8271e9e..d786f9c 100644 --- a/manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml +++ b/manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml @@ -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