[英]Docker container IP's not communicating in kubernetes cluster
I have a kubenetes cluster running successfully. 我有一个成功运行的kubenetes集群。 I have tried bringing applications in the cluster like a simple nginx.
我尝试将应用程序像简单的nginx一样引入集群。 I have a setup of master-minion and a minion node.
我有一个master-minion和一个minion节点的设置。
The problem here is that I'm able to launch applications from the master-minion node but when I bring up applications in another minion it gives me an error as no route to host. 这里的问题是我能够从master-minion节点启动应用程序,但是当我在另一个minion中启动应用程序时,由于没有通往主机的路由,这给了我一个错误。
After some exploration I saw that container ip is not pingable from the master-minion node. 经过一番探索,我发现容器ip无法从master-minion节点ping通。
Can someone point out as to what to do to fix this communication between containers in the cluster? 有人可以指出如何解决群集中容器之间的这种通信吗?
Have you set up networking for kubernetes? 您是否已为kubernetes设置网络? you can refer to: http://kubernetes.io/v1.0/docs/admin/networking.html
您可以参考: http : //kubernetes.io/v1.0/docs/admin/networking.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.