Is it possible to set the IpcMode for a container with kubernetes?

9/20/2019

I'm currently using the Docker API to create containers. The Docker Engine API lets me control the IPC mode of them via the HostConfig.IpcMode property.

I'm interested in switching away from writing directly to Docker Engine and K8s seems to the the best alternative. My interpretation of the K8s API Reference is that the answer to my question is "No", but I'm not confident I'm right.

So, is there a way to do this using K8s' deployment API? I'm new to K8s and overwhelmed by the amount of documentation.

The larger problem I'm trying to solve is to have containers within a pod share memory and condition variables. If there's a better way of doing this in K8s than setting the IpcMode of containers please let me know.

-- VorpalSword
docker
ipc
kubernetes

0 Answers