Kubernetes - kubeadm 增加master节点

2021-10-09

文档参考

master节点操作

kubeadm init phase upload-certs --upload-certs

ffaae526756b56cc2419ae1c2ce1da438b90fbf3e24fdeba6a11bda21897d16b

kubeadm token create --print-join-command

kubeadm join 192.168.150.183:6444 --token vx9til.y6jssaepoke8wl2t     --discovery-token-ca-cert-hash sha256:a9f69edb26ad9e849a0afaf4b2d53ad319bc28eaf3047d08beba3d9f03634bff

新master节点操作

根据master节点得到的结果重新拼接后执行

kubeadm join 192.168.150.183:6444 --token vx9til.y6jssaepoke8wl2t     --discovery-token-ca-cert-hash sha256:a9f69edb26ad9e849a0afaf4b2d53ad319bc28eaf3047d08beba3d9f03634bff --control-plane --certificate-key ffaae526756b56cc2419ae1c2ce1da438b90fbf3e24fdeba6a11bda21897d16b

标题:Kubernetes - kubeadm 增加master节点
地址:https://blog.njqhome.com:8443/articles/2021/03/27/1616855170389.html