12
This commit is contained in:
joy 2025-11-07 18:24:09 +08:00
parent 2b43a30026
commit 462733a7a5
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-config-deploy.sh |bash
#初始化集群,在这个地方拍摄快照调试代码
#k8s-master 初始化集群
cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-cluster-deploy.sh |bash -s -- --master-ips 192.168.61.131,192.168.61.132,192.168.61.133 --node-ips 192.168.61.134
#脚本存在bug 请手动执行初始化kubeadm init --config kubeadm-init.yaml --upload-certs
#安装网络插件
cd /opt/k8s-install-conf && wget http://116.205.97.109/scripts/calico.yaml && kubectl apply -f /opt/k8s-install-conf