<p>I am trying to add swap space on kubernetes node to prevent it from out of memory issue. Is it possible to add swap space on node (previously known as minion)? If possible what procedure should I follow and how it effects pods acceptance test? </p>

<p>Kubernetes doesn't support container memory swap. Even if you add swap space, kubelet will create the container with --memory-swappiness=0 (when using Docker). There have been discussions about adding support, but the proposal was not approved. <a href="https://github.com/kubernetes/kubernetes/issues/7294" rel="noreferrer">https://github.com/kubernetes/kubernetes/issues/7294</a></p>
