Skip to content

Commit 155dffb

Browse files
authored
Merge pull request #50 from plotly/shm-workaround
Work around Chrome SHM issue (causes hang)
2 parents a6b55f9 + ab4ec77 commit 155dffb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

deployment/kube/prod/frontend.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ spec:
4545
volumeMounts:
4646
- mountPath: "/usr/share/fonts/user"
4747
name: plotly-cloud-licensed-fonts
48+
- mountPath: "/dev/shm"
49+
name: dshm
4850
livenessProbe:
4951
httpGet:
5052
path: /ping
@@ -55,3 +57,6 @@ spec:
5557
pdName: plotly-cloud-licensed-fonts
5658
readOnly: true
5759
fsType: ext4
60+
- name: dshm
61+
emptyDir:
62+
medium: Memory

deployment/kube/stage/frontend.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ spec:
4646
volumeMounts:
4747
- mountPath: "/usr/share/fonts/user"
4848
name: plotly-cloud-licensed-fonts
49+
- mountPath: "/dev/shm"
50+
name: dshm
4951
livenessProbe:
5052
httpGet:
5153
path: /ping
@@ -56,3 +58,6 @@ spec:
5658
pdName: plotly-cloud-licensed-fonts
5759
readOnly: true
5860
fsType: ext4
61+
- name: dshm
62+
emptyDir:
63+
medium: Memory

0 commit comments

Comments
 (0)