增加关闭swap操作
This commit is contained in:
parent
086e56c48e
commit
1efe2246a7
@ -14,6 +14,10 @@ net.bridge.bridge-nf-call-iptables = 1
|
|||||||
EOF
|
EOF
|
||||||
sudo sysctl --system
|
sudo sysctl --system
|
||||||
|
|
||||||
|
# 关闭swap
|
||||||
|
sudo swapoff -a
|
||||||
|
sed -i 's/.*swap.*/#&/' /etc/fstab
|
||||||
|
|
||||||
cd ./docker && bash ./install.sh && cd ..
|
cd ./docker && bash ./install.sh && cd ..
|
||||||
cd ./kubeadm && bash ./install.sh && cd ..
|
cd ./kubeadm && bash ./install.sh && cd ..
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user