NO_PROXY properly set, my targets in the load balancer shows up ok, but I still have an issue with the exposed ports not being reachable.
That is, there are no exposed/mapped ports when running
docker inspect on the Lb Agent, as both
Config.ExposedPorts as well as
However, in the UI for the Lb Agent, I see that it ought to expose port 80:
I also notice that on the detail page for the Lb Agent, the port mappings are there, but the IP address field is empty:
Not sure what else to look for at the moment… trying to talk to port 80 of Lb Agent on its container doesn’t work either (connection refused) on both the docker ip 172… and the rancher assigned ip 10.42…
/etc/haproxy/haproxy.cfg tough, it says on the last line:
listen web 0.0.0.0:9, which to me is a bit surprising (but I’m not familiar with haproxy, so don’t know if this is a common haproxy thing, but it looks suspect to me). And curl’ing to the container at port 9 gives an empty reply (so it does listen on that port).
This is as far as I’ve got at the moment… hopefully you can spot something obvious I’m doing wrong