Kubernetes ---- kubeadmin join添加至集群失败


添加至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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM