修复flannel组件安装
This commit is contained in:
parent
3d8e3689d6
commit
2cb742dbbe
@ -44,6 +44,11 @@ ssh root@${MASTER1} "cd /tmp/kubeadm/ && bash install.sh"
|
|||||||
ssh root@${MASTER2} "cd /tmp/kubeadm/ && bash install.sh"
|
ssh root@${MASTER2} "cd /tmp/kubeadm/ && bash install.sh"
|
||||||
ssh root@${MASTER3} "cd /tmp/kubeadm/ && bash install.sh"
|
ssh root@${MASTER3} "cd /tmp/kubeadm/ && bash install.sh"
|
||||||
|
|
||||||
|
# 导入flannel镜像
|
||||||
|
ssh root@${MASTER1} "cd /tmp/flannel/ && bash install.sh"
|
||||||
|
ssh root@${MASTER2} "cd /tmp/flannel/ && bash install.sh"
|
||||||
|
ssh root@${MASTER3} "cd /tmp/flannel/ && bash install.sh"
|
||||||
|
|
||||||
# 创建集群
|
# 创建集群
|
||||||
cd kubeadm
|
cd kubeadm
|
||||||
./create_cluster.sh ${API_SERVER} | tee /tmp/install.log
|
./create_cluster.sh ${API_SERVER} | tee /tmp/install.log
|
||||||
|
@ -9,6 +9,7 @@ fi
|
|||||||
|
|
||||||
./init/init.sh
|
./init/init.sh
|
||||||
./docker/install.sh
|
./docker/install.sh
|
||||||
|
./flannel/install.sh
|
||||||
./kubeadm/install.sh
|
./kubeadm/install.sh
|
||||||
./kubeadm/create_cluster.sh ${API_SERVER}
|
./kubeadm/create_cluster.sh ${API_SERVER}
|
||||||
./ingress-nginx/install.sh
|
./ingress-nginx/install.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user