shandianxiawoshan
shandianxiawoshan
2017-09-12 08:54

kubernetes master不能访问minions的pod

20
  • node.js
  • net
  • docker

在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 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.

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

0条回答

为你推荐

换一换