How to increase shm size of a kubernetes container

2019-01-22 14:08发布

By default docker uses a shm size of 64m if not specified, but that can be increased in docker using --shm-size=256m

How should I increase shm size of a kuberenetes container or use --shm-size of docker in kuberenetes.

2条回答
相关推荐>>
2楼-- · 2019-01-22 15:05

I originally bumped into this post coming from google and went through the whole kubernetes issue and openshift workaround. Only to find the much simpler solution listed on another stackoverflow answer later.

查看更多
Ridiculous、
3楼-- · 2019-01-22 15:07

It's not possible to do this in a kubernetes pod. See this issue

There is a workaround from openshift mentioned in the comments, but it may not be ideal

查看更多
登录 后发表回答