请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

添加node成功,但是在master运行kubectl get nodes 看不到子节点

运行kubeadm join 命令后如下:
[preflight] Running pre-flight checks.
[WARNING FileExisting-crictl]: crictl not found in system path
Suggestion: go get github.com/kubernetes-incubator/cri-tools/cmd/crictl
[preflight] Starting the kubelet service
[discovery] Trying to connect to API Server “XXXX”
[discovery] Created cluster-info discovery client, requesting info from “https://XXXX:6443
[discovery] Requesting info from “https://1XXXX:6443” again to validate TLS against the pinned public key
[discovery] Cluster info signature and contents are valid and TLS certificate validates against pinned roots, will use API Server “XXXX:6443”
[discovery] Successfully established connection with API Server “192.168.1.13:6443”

This node has joined the cluster:

  • Certificate signing request was sent to master and a response
    was received.
  • The Kubelet was informed of the new secure connection details.

Run ‘kubectl get nodes’ on the master to see this node join the cluster.
在master上运行kubectl get nodes 后获取不到子节点且使用kubectl get pods -n kube-system -o wide获取的服务状态很多变成pending了。

正在回答 回答被采纳积分+3

3回答

遇见未来的你 2019-06-18 23:32:40

网络插件安装了吗?

0 回复 有任何疑惑可以回复我~
慕粉2143548772 2019-05-14 16:38:32

你解决了吗?我跟你一样的问题

0 回复 有任何疑惑可以回复我~
提问者 春松 2018-10-05 12:30:47

修改hostsname 及hosts文件

0 回复 有任何疑惑可以回复我~
  • 我修改了hostname以及hosts文件仍然没有解决
    回复 有任何疑惑可以回复我~ 2018-10-09 11:59:26
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号