First, the problem
/ Dev / shm too, want expansion. But failed expansion
Second, analysis
Kubernetes does not support this operation. Default 64M
Third, the solution
Built under / dev / shm empty folders, and medium to Memory
spec:
volumes:
- name: dshm
emptyDir:
medium: Memory
containers:
- image: gcr.io/project/image
volumeMounts:
- mountPath: /dev/shm
name: dshm
reference