所有节点导入flannel镜像
This commit is contained in:
parent
420693892f
commit
5754fdc861
@ -3,4 +3,3 @@ set -euo pipefail
|
||||
|
||||
|
||||
ls *.tar | xargs -I {} docker load -i {}
|
||||
kubectl apply -f ./kube-flannel.yml
|
||||
|
@ -23,4 +23,4 @@ EOF
|
||||
fi
|
||||
|
||||
# 安装flannel
|
||||
cd ../flannel && bash install.sh && cd -
|
||||
cd ../flannel && bash install.sh && kubectl apply -f ./kube-flannel.yml && cd -
|
@ -28,4 +28,5 @@ sed -i 's/.*swap.*/#&/' /etc/fstab
|
||||
|
||||
cd ../docker && bash ./install.sh && cd -
|
||||
cd ../kubeadm && bash ./install.sh && cd -
|
||||
cd ../flannel && bash install.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user