所有节点导入flannel镜像

This commit is contained in:
zhanglikun 2023-09-13 22:36:44 +08:00
parent 420693892f
commit 5754fdc861
3 changed files with 2 additions and 2 deletions

View File

@ -3,4 +3,3 @@ set -euo pipefail
ls *.tar | xargs -I {} docker load -i {}
kubectl apply -f ./kube-flannel.yml

View File

@ -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 -

View File

@ -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