From eb11d74e9f0bf983830dd3c2447406b507e229b2 Mon Sep 17 00:00:00 2001 From: ychangkim Date: Wed, 1 Apr 2026 17:40:33 +0900 Subject: [PATCH] feat: add configurable shmSizeLimit for /dev/shm in jupyterlab chart Introduce shmSizeLimit value (default 512Mi) to control the size of the RAM-backed /dev/shm volume. Leave empty to apply no limit. --- manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml | 3 +++ manifests/helm/jupyterlab/1.0.0/values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml b/manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml index d786f9c..72efafd 100644 --- a/manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml +++ b/manifests/helm/jupyterlab/1.0.0/templates/deployment.yaml @@ -103,3 +103,6 @@ spec: - name: dshm emptyDir: medium: Memory + {{- if .Values.shmSizeLimit }} + sizeLimit: {{ .Values.shmSizeLimit }} + {{- end }} diff --git a/manifests/helm/jupyterlab/1.0.0/values.yaml b/manifests/helm/jupyterlab/1.0.0/values.yaml index f366082..183ea61 100644 --- a/manifests/helm/jupyterlab/1.0.0/values.yaml +++ b/manifests/helm/jupyterlab/1.0.0/values.yaml @@ -74,5 +74,8 @@ dataVolume: # mountPath: "/group_data" groupVolumes: [] +# /dev/shm shared memory size limit (e.g. "512Mi", "1Gi"). Leave empty for no limit. +shmSizeLimit: "512Mi" + # imagePullSecrets for private registries imagePullSecrets: []