kubeadm加入master

https://codeleading.com/article/81176327834/

(1)kubeadm --config /etc/kubernetes/kubeadm-config.yaml init phase upload-certs --upload-certs

dc0d9f83eb659ac53bf7f5dead060244ae7863cb61cfe003c0b1049073ac49f2

(2)kubeadm token create --print-join-command

kubeadm join lb.kubesphere.local:6443 --token 8nbgit.bhdhuz1gjmepc6u7 --discovery-token-ca-cert-hash sha256:9e147cabb1cbb83dde69c36f9bca31e568599bdcef24b69adcbb8f04709bb04e

kubeadm join lb.kubesphere.local:6443 --token 8nbgit.bhdhuz1gjmepc6u7 --discovery-token-ca-cert-hash sha256:9e147cabb1cbb83dde69c36f9bca31e568599bdcef24b69adcbb8f04709bb04e

--control-plane-join --certificate-key dc0d9f83eb659ac53bf7f5dead060244ae7863cb61cfe003c0b1049073ac49f2

你可能感兴趣的:(kubernetes运维,kubernetes,docker,容器)