lentil1016 / kubeadm-ha

Deprecated! Boot a ha kubernetes 1.11.0/1.12.1/1.13.0/1.14.0 cluster with kubeadm.
GNU General Public License v3.0
214 stars 128 forks source link

kubeadm join "VIP" 问题, #53

Closed GangChenTFS closed 5 years ago

GangChenTFS commented 5 years ago

你好,请问此脚本生成后的集群如何将VIP 作为master的join IP,如下,在脚本执行完毕后,提示join master ip 是其中一个master的ip,是否可以将加入master的ip 修改为vip,如果操作。感谢

Your Kubernetes master has initialized successfully!

To start using your cluster, you need to run the following as a regular user:

mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config

You should now deploy a pod network to the cluster. Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at: https://kubernetes.io/docs/concepts/cluster-administration/addons/

You can now join any number of machines by running the following on each node as root:

kubeadm join 10.23.0.100:6443 --token hl1tr9.kbdvliosudxkv0ad --discovery-token-ca-cert-hash sha256:3045a014cbf0958669d1a0023ac7fc5f5795836948f00ddbadaa58a080bd7915

Waiting for etcd bootup...