1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Master上执行
kubectl delete node OLD_NODE
# Worker上执行
kubeadm reset
# Master上执行
kubeadm token create --print-join-command --ttl 0
# Worker上执行(上一条指令的返回结果)
kubeadm join 192.168.23.60:6443 --token muxmxy.s0vsl4hkaf1twgbr --discovery-token-ca-cert-hash sha256:fefb29735b50038189c07c13c0f8b78b20e7ae93780a741ed04b2432f9ed8cd0
|