添加至K8S集群过程中出现异常:

  error execution phase preflight: couldn't validate the identity of the API Server: abort connecting to API servers after timeout of 5m0s!

解决方法:

  此报错是因为master节点上的token过期了,需要重新生成.(最终添加至集群成功)

[master节点操作]
~]# kubeadm token create

[node节点操作]
~]# kubeadm join 192.168.133.128:6443 --token fr84gi.8wpiw4cjxgbx4r0a     --discovery-token-ca-cert-hash sha256:520516b0ea9516f638ffdb5fdef8a50de5d0e14f1afc
1b98e6c61d20f77fc8ac --ignore-preflight-errors=Swap

 

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
猜你喜欢
  • 2022-02-07
  • 2021-12-27
  • 2021-07-02
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2021-11-25
相关资源
相似解决方案