How to increase shm size of a kubernetes container (--shm-size equivalent of docker)

4/12/2017

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.

-- anandaravindan
docker
kubernetes

2 Answers

12/21/2017

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.

-- Glenn Vandamme
Source: StackOverflow

4/12/2017

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

-- jaxxstorm
Source: StackOverflow