I am working through the tutorial over at Load Balancing with Traefik | Nomad - HashiCorp Learn on a freshly installed nomad cluster with 3 server (HA) and 2 client nodes. The server nodes run Nomad and Consul in server mode, the client nodes run Nomad and Consul in client mode.
The tutorial is working fine expect for the fact that the load balancing part is not really working:
I can only access the traefik dashboard when I open it through the IP address of the client where traefik actually got deployed to (
http://<Your-Traefik-IP-address>:8081) but not through the other client’s ip. Therefore I always need to know on which worker node traefik got deployed to.
I can only access the backend services that are running on the same client as traefik (
curl http://traefik.service.consul:8080/myapp) but not the same services running on the other client.
What am I missing in my configuration to get load balancing working? I have documented my cluster creation steps on github.