Is it possible to add swap space on the nodes of the tunnels?

I am trying to add swap space on the kubernetes node to prevent it from running out of memory. Is it possible to add swap space on a node (formerly known as a minion)? If possible, what procedure should I follow, and how does it affect acceptance tests on boxes?

+5
source share
1 answer

Kubernetes does not support container memory sharing. Even if you add swap space, kubelet will create a container with -memory-swappiness = 0 (when using Docker). There were discussions about adding support, but the proposal was not approved. https://github.com/kubernetes/kubernetes/issues/7294

+7
source

Source: https://habr.com/ru/post/1246773/


All Articles