Kubernetes 1.8.0, kubelet will not work with enabled swap

两种方法:

1.disable swap

2. 配置参数

#echo 'Environment="KUBELET_EXTRA_ARGS=--fail-swap-on=false"' > /etc/systemd/system/kubelet.service.d/90-local-extras.conf

#systemctl daemon-reload

#systemctl restart kubelet

你可能感兴趣的:(Kubernetes 1.8.0, kubelet will not work with enabled swap)