标签:reg 过程 nbsp master code ast cti registry offline
原有的节点是 : master[123] , node[1234]
新加的节点node5
[root@master0 ~]# cat kubesphere-all-offline-advanced-2.0.2/conf/hosts.ini [all] master1 ansible_connection=local ip=192.168.37.11 ansible_ssh_pass=root master2 ansible_host=192.168.37.12 ip=192.168.37.12 ansible_ssh_pass=root master3 ansible_host=192.168.37.13 ip=192.168.37.13 ansible_ssh_pass=root node1 ansible_host=192.168.37.14 ip=192.168.37.14 ansible_ssh_pass=root node2 ansible_host=192.168.37.15 ip=192.168.37。15 ansible_ssh_pass=root node3 ansible_host=192.168.37.16 ip=192.168.37.16 ansible_ssh_pass=root node4 ansible_host=192.168.37.17 ip=192.168.37.17 ansible_ssh_pass=root
node5 ansible_host=192.168.37.19 ip=192.168.37.9 ansible_ssh_pass=root
[local-registry]
master1
[kube-master]
master1
master2
master3
[kube-node]
node1
node2
node3
node4
node5
[etcd]
master0
master1
master2
[k8s-cluster:children]
kube-node
kube-master
# cd kubesphere-all-offline-advanced-2.0.2/scripts/ # ./add-nodes.sh
安装过程不报错,,则添加新的节点成功。
标签:reg 过程 nbsp master code ast cti registry offline
原文地址:https://www.cnblogs.com/carriezhangyan/p/11751892.html