kubernetes master不能访问minions的pod

shandianxiawoshan 2017-09-12 04:56:51
在master节点,其中192.168.68.2为minions的dockerIP
kubectl get endpoints
NAME ENDPOINTS AGE
promgr 192.168.68.2:10801 8m

kubectl get svc/promgr
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
promgr 11.1.1.114 <none> 10801:30801/TCP 28m

当curl 11.1.1.114:10801时报以下错误
E0912 16:35:58.736575 15866 proxysocket.go:107] Dial failed: dial tcp 192.168.68.2:10801: i/o timeout
E0912 16:35:59.236846 15866 proxysocket.go:107] Dial failed: dial tcp 192.168.68.2:10801: i/o timeout
E0912 16:36:00.237123 15866 proxysocket.go:107] Dial failed: dial tcp 192.168.68.2:10801: i/o timeout
E0912 16:36:02.237376 15866 proxysocket.go:107] Dial failed: dial tcp 192.168.68.2:10801: i/o timeout
E0912 16:36:02.237429 15866 proxysocket.go:142] Failed to connect to balancer: failed to connect to an endpoint.
...全文
1005 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

1,162

社区成员

发帖
与我相关
我的任务
社区描述
Docker是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的Linux 机器上,也可以实现虚拟化。
社区管理员
  • Docker
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧