su: Authentication failure
sudo su
重新配置节点
kubeadm reset
加入从节点
kubeadm join --token <token> <master-ip>:<master-port> --discovery-token-ca-cert-hash sha256:<hash>
查看token
kubeadm token list
新生成token
kubeadm token create
获取discovery-token-ca-cert-hash值
openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | openssl dgst -sha256 -hex | sed 's/^.*
查看节点信息
kubectl get nodes
删除节点
kubectl drain <node name> --delete-local-data --force --ignore-daemonsets
kubectl delete node <node name>
部署https://blog.csdn.net/weixin_43330822/article/details/97262816
https://blog.csdn.net/wangchunfa122/article/details/86529406