九、添加node04节点到集群
9.1在node04节点执行如下命令,即可将节点添加进集群
kubeadm join 10.8.1.105:6443 --token b99a00.a144ef80536d4344 --discovery-token-ca-cert-hash sha256:73cb3b179375a97a26b7ec05e76df868229d07cbf18da9b2180a7d25ff3d9357
[root@node01 ~]# kubectl get node
NAME STATUS ROLES AGE VERSION
node01 Ready master 45m v1.10.0
node02 Ready master 15m v1.10.0
node03 Ready master 14m v1.10.0
node04 Ready <none> 13m v1.10.0
精彩评论