[英]Flanneld not working in Kubernetes Multinode Example
I am trying to follow this tutorial with two Vagrant instances: http://kubernetes.io/v1.0/docs/getting-started-guides/docker-multinode.html 我正在尝试通过两个Vagrant实例来学习本教程: http : //kubernetes.io/v1.0/docs/getting-started-guides/docker-multinode.html
After setting up master and worker node I tried to connect to the service's IP of a simple nginx-service from the master. 设置主节点和工作节点后,我尝试从主节点连接到简单nginx服务的服务IP。 But it looks like the kube-proxy cannot find the docker-container of the worker-node.
但是看起来kube-proxy无法找到worker节点的docker-container。
The virtual IP of the service and the container-ip respond well on the worker-node 服务的虚拟IP和容器IP在工作节点上反应良好
That made me think of a misfunction of flanneld. 那让我想到了绒布的功能异常。
Does anybody know how I could track down this error? 有人知道我如何找到这个错误吗?
Any help is appreciated! 任何帮助表示赞赏!
Thanks in advance 提前致谢
Best, Johannes 最好,约翰内斯
Output of Kube-Proxy container Kube-Proxy容器的输出
I1016 20:53:42.829290 1 proxysocket.go:130] Accepted TCP connection from 10.0.2.15:51774 to 10.0.2.15:40197
I1016 20:53:42.829290 1 proxysocket.go:130]接受的TCP连接从10.0.2.15:51774到10.0.2.15:40197
E1016 20:53:43.829575 1 proxysocket.go:99] Dial failed: dial tcp 10.1.12.3:80: i/o timeoutE1016 20:53:43.829575 1 proxysocket.go:99]拨号失败:拨打tcp 10.1.12.3:80:输入/输出超时
E1016 20:53:45.825473 1 proxysocket.go:99] Dial failed: dial tcp 10.1.12.3:80: no route to hostE1016 20:53:45.825473 1 proxysocket.go:99]拨号失败:拨打tcp 10.1.12.3:80:主机没有路由
E1016 20:53:48.825556 1 proxysocket.go:99] Dial failed: dial tcp 10.1.12.3:80: no route to hostE1016 20:53:48.825556 1 proxysocket.go:99]拨号失败:拨打tcp 10.1.12.3:80:主机没有路由
E1016 20:53:51.825627 1 proxysocket.go:99] Dial failed: dial tcp 10.1.12.3:80: no route to hostE1016 20:53:51.825627 1 proxysocket.go:99]拨号失败:拨打tcp 10.1.12.3:80:主机没有路由
E1016 20:53:51.825710 1 proxysocket.go:133] Failed to connect to balancer: failed to connect to an endpoint.E1016 20:53:51.825710 1 proxysocket.go:133]无法连接到均衡器:无法连接到端点。
This looks like https://github.com/kubernetes/kubernetes/issues/14426 . 看起来像https://github.com/kubernetes/kubernetes/issues/14426 。 Try upgrading flannel to 0.5.3.
尝试将绒布升级到0.5.3。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.