How to access service in AKS

You’ve connected the objects SERVICE -> INGRESS -> DEPLOYMENT.
This is incorrect.

It should be INGRESS -> SERVICE -> DEPLOYMENT.

As such it’s not the Service that should be of type load balancer, your Ingress controller (Nginix) will already have a Public IP and Load balancer created. Your ingress object is what creates that configuration with the controller.

You don’t require Ingress to expose your service, you can continue to do what you’ve done with having a type LoadBalancer, but you will need to change the app selector to that of your deployment. SERVICE -> DEPLOYMENT

Read more here: Source link