现象
kubeadm1.18.20 join 节点卡死,很长时间后出现:could not find a JWS signature in the cluster-info ConfigMap
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 "9lbtir"
To see the stack trace of this error execute with --v=5 or higher
原因
原因:token过期。
如下命令验证:
kubeadm token list
如果没有输出,肯定是token已经过期。
重新生成token
输入如下命令重新生成token, 并且打印出把节点加入集群的命令。
kubeadm token create --print-join-command --ttl=

本文探讨了kubeadm 1.18.20中节点加入集群时可能遇到的卡死问题,重点在于token过期导致的身份验证失败。通过验证token状态、重新生成永不过期token并提供修复步骤,以及处理节点时间不同步的情况,帮助读者解决这些问题。

4203

被折叠的 条评论
为什么被折叠?



