Once deployed, I am not able to access the service outside the prolog pods. I can run the client successfully and access the service from a client running on one of the proglog pods.
However, I am not able to access the service from the following locations:
Laptop: The client connection hangs and then returns
connection error while dialing dial tcp: lookup proglog-0.proglog.mysvcs.svc.cluster.local: no such host.I am dialing using the EXTERNAL-IP address of proglog-0 from k8s in the client (This address works when used from a proglog pod).
From a pod in the k8s cluster but not a proglog pod. It prints the following error repeatedly
ERROR: 2020/10/31 18:59:29 [core] subconn returned from pick is not *acBalancerWrapper. Also, the acBalancerWrapper error appears when running the client from a proglog pod (where it usually works) from time to time.
Anyone faced this before, ideas?
At the moment I’m looking into
GetServers returning the K8s DNS names (e.g.
proglog-0.proglog.default.svc.cluster.local:8400 rather than the EXTERNAL-IP of the pods.