1.node01、node02节点加入集群
1) 确认非kubernetes指定的网卡已关闭
[root@k8s-node02 k8s-install]# ip a
2) 检查hosts文件,须包含本主机
3) From kubeadm-init.log, 加入集群
4) pull flannel网络所需镜像
[root@k8s-node02 k8s-install]# docker pull quay.io/coreos/flannel:v0.11.0-amd64
5) 加入集群
[root@k8s-node01 ~]# kubeadm join 192.168.43.100:6444 --token abcdef.0123456789abcdef \
--discovery-token-ca-cert-hash sha256:59c2072cf06f03d0bf9992987416309146632f8124115ccf171eca1cbe87df39
2.在k8s-ha-master01上查看node和pod
[root@k8s-master01 k8s_documents]# kubectl get node
[root@k8s-master01 k8s_documents]# kubectl get pod -n kube-system [-o wide] [-w] //详细信息
3.重启该节点以确保flannel网络畅通
[root@k8s-node02 k8s-install]# reboot