Cannot connect to services via Load Balancer External-IP if enabling connect-inject in yaml file for pods within AKS

In the Consul on AKS tutorial, when you deploy the counting service with the default parameters in the counting-service.yaml and dashboard-service.yaml, you cannot connect to the external-IP address provided by the dashboard-load-balancer service as stated by tutorial. But if I set the connect-inject=false in the dashboard-service.yaml, then I can connect from outside world to the external-IP. But this would remove the service from being discovered by Consul. Is this expected? How do I make the services discoverable by Consul while also allowing external connection?

This is being worked on.

1 Like