summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/templates/deployment.yaml
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-10-24 16:12:53 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-10-24 23:19:11 +0000
commitadcb9ee33a8d2d158b3e05e9547f7c5a24d1f7a2 (patch)
tree947849722cb135fae293a91bfa5872107d2b3bc5 /kubernetes/robot/templates/deployment.yaml
parent4d5a96331a9ca22b152bf20c121a572c8235fe69 (diff)
Increase /dev/shm size to fix chrome crashes
Chrome was randomly crashing while running Portal ETE test suites. This appears to be caused by /dev/shm being too small in the container. This patch increases the size of /dev/shm in the robot container. Change-Id: I79b6c3b05cc817b59db68327978800d7f80bd3f9 Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'kubernetes/robot/templates/deployment.yaml')
-rw-r--r--kubernetes/robot/templates/deployment.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/robot/templates/deployment.yaml b/kubernetes/robot/templates/deployment.yaml
index e50620f1d3..e230f4c3b6 100644
--- a/kubernetes/robot/templates/deployment.yaml
+++ b/kubernetes/robot/templates/deployment.yaml
@@ -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