parent
d8aa9fc19c
commit
07129c42bd
|
|
@ -171,7 +171,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.10,192.168.61.11,192.168.61.12 --node-ips 192.168.61.20,192.168.61.21
|
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/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