修复docker安装问题
This commit is contained in:
parent
ebfb337d6f
commit
28284be26a
@ -34,6 +34,11 @@ ssh root@${MASTER1} "cd /tmp/keepalived/ && bash install.sh && cp -r keepalived1
|
||||
ssh root@${MASTER2} "cd /tmp/keepalived/ && bash install.sh && cp -r keepalived2.conf /etc/keepalived/keepalived.conf && systemctl restart keepalived"
|
||||
ssh root@${MASTER3} "cd /tmp/keepalived/ && bash install.sh && cp -r keepalived3.conf /etc/keepalived/keepalived.conf && systemctl restart keepalived"
|
||||
|
||||
# 安装Docker
|
||||
ssh root@${MASTER1} "cd /tmp/docker/ && bash ./install.sh"
|
||||
ssh root@${MASTER2} "cd /tmp/docker/ && bash ./install.sh"
|
||||
ssh root@${MASTER3} "cd /tmp/docker/ && bash ./install.sh"
|
||||
|
||||
# 安装 kubeadm 组件
|
||||
ssh root@${MASTER1} "cd /tmp/kubeadm/ && bash install.sh"
|
||||
ssh root@${MASTER2} "cd /tmp/kubeadm/ && bash install.sh"
|
||||
|
@ -3,8 +3,5 @@
|
||||
yum install -y ./*.rpm
|
||||
ls *.tar | xargs -I {} docker load -i {}
|
||||
|
||||
cd ../docker && bash ./install.sh && cd -
|
||||
cd ../flannel && bash install.sh
|
||||
|
||||
systemctl enable --now kubelet
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user