parent
2b43a30026
commit
462733a7a5
|
|
@ -175,6 +175,7 @@ cd /opt/ && wget -qO- http://116.205.97.109/scripts/k8s-config-deploy.sh |bash
|
||||||
#初始化集群,在这个地方拍摄快照调试代码
|
#初始化集群,在这个地方拍摄快照调试代码
|
||||||
#k8s-master 初始化集群
|
#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
|
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
|
cd /opt/k8s-install-conf && wget http://116.205.97.109/scripts/calico.yaml && kubectl apply -f /opt/k8s-install-conf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue