2 shandianxiawoshan shandianxiawoshan 于 2017.09.12 16:54 提问

kubernetes master不能访问minions的pod 20C

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

Csdn user default icon
上传中...
上传图片
插入图片