Increase /dev/shm size to fix chrome crashes
[oom.git] / kubernetes / robot / templates / deployment.yaml
index e50620f..e230f4c 100644 (file)
@@ -49,6 +49,8 @@ spec:
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
         volumeMounts:
+        - name: dshm
+          mountPath: /dev/shm
         - name: localtime
           mountPath: /etc/localtime
           readOnly: true
@@ -74,6 +76,9 @@ spec:
     {{- else }}
         emptyDir: {}
     {{- end }}
+      - name: dshm
+        emptyDir:
+          medium: Memory
       - name: localtime
         hostPath:
           path: /etc/localtime