[k8s]查看节点加入集群的命令

kubeadm token create --print-join-command

[root@master ~]# kubeadm token create --print-join-command
W0811 11:13:51.716068   18508 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
kubeadm join 10.2.30.171:6443 --token 5hxijg.v6xmi8jqa30u6gm1     --discovery-token-ca-cert-hash sha256:c8e158dc43e8f75234b4d2e6312ab0498b596de19c81a5a8d7718a335a3579bb

END

posted @ 2020-08-11 23:15  LeoShi2020  阅读(3685)  评论(0编辑  收藏  举报