kubernetes-reverseproxy
kubernetes-reverseproxy copied to clipboard
etcd from inside container blocked
My docker logs show 2015-01-03T23:34:55Z 479b278d606a confd[35]: ERROR cannot connect to etcd cluster: 10.240.62.210:4001 [nginx] waiting for confd to refresh nginx.conf ...
It looks like etcd is not accessible from inside the container:
root@2ccc689b0175:/# curl -L http://k8s-abc-master:4001/version curl: (7) Failed to connect to k8s-abc-master port 4001: Connection refused
On the GCE nodes, this works fine curl -L http://k8s-abc-master:4001/version etcd 0.4.6
Am I missing something?
What is k8s-abc-master pointing too ? most likely that hostname is not being resolved from inside the container, find out the hosts ip address from within container and use that.