从节点加入失败
来源:2-8 Kubeadm节点加入

weixin_慕勒0518364
2023-07-23
#./k8s_install_123.sh
#kubeadm join 192.168.83.102:6443 --token h8e5gv.9t3v2uhd1yk12dnp --discovery-token-ca-cert-hash sha256:5fd090f7f81e1ed235843a5996ef4bba2b2763e89b35e16a4bae9f44e89f4a92
[preflight] Running pre-flight checks
error execution phase preflight: couldn’t validate the identity of the API Server: could not find a JWS signature in the cluster-info ConfigMap for token ID "h8e5gv"
To see the stack trace of this error execute with --v=5 or higher
#kubeadm token create
failed to load admin kubeconfig: open /root/.kube/config: no such file or directory
To see the stack trace of this error execute with --v=5 or higher
加入从节,我先执行了k8s_install_123.sh,然后执行join时报错,然后想kubeadm token create生成新的token又报错,请问大佬们是缺了什么操作吗照着文档操作的?
1回答
-
暮闲
2023-07-24
同学你好,从报错信息来看,是couldn’t validate the identity of the API Server,相当于是认证apiserver未通过,你的加入命令是这样的吗?
kubeadm token create --print-join-command
如果是的话,你方便给我贴图看一下你的kubelet日志吗,命令:
journalctl -u kubelet -n 200
00
相似问题