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

后端 未结 3 648
闹比i
闹比i 2021-02-01 16:13

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 cont

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-01 16:43

    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

    EDIT: at the time this question was asked, this was not possible. It now is, see https://stackoverflow.com/a/47921100/645002 for the correct answer

提交回复
热议问题