Swap memory management
FEATURE STATE:Kubernetes v1.22 [alpha]
Prior to Kubernetes 1.22, nodes did not support the use of swap memory, and a kubelet would by default fail to start if swap was detected on a node. In 1.22 onwards, swap memory support can be enabled on a per-node basis.
To enable swap on a node, the NodeSwap
feature gate must be enabled on the kubelet, and the --fail-swap-on
command line flag or failSwapOn
configuration setting must be set to false.
copied from: https://kubernetes.io/docs/concepts/architecture/nodes/