Azure load balancer on Kubernetes not loading endpoint

2/16/2018

My service has a load balancer. I can run up the service and it will show that it successfully created the load balancer as well as the service looking healthy.

I have a website running inside the service so i want to be able to access the site using externalIP:port.

Every time i go to the site (externalIP:port) it just keeps loading and doesn't redirect me to the site.

Any thoughts are appreciated.

Update: The problems was the with the labels. The endpoints were live but they were not pointing to the right deployment I had, so it would not know where to go.

-- Ramboo19
azure
kubernetes
load-balancing

2 Answers

2/21/2018

Found the solution to the problem.

The problems was the with the labels. The endpoints were live but they were not pointing to the right deployment I had, so it would not know where to go.

I added the name label and referred to it in the Service.

-- Ramboo19
Source: StackOverflow

2/16/2018

does your loadbalancer have an ingress to go with it? usually you'll need 1. ingress controller 2. ingress.yaml 3. deployment.yaml 4. service.yaml

if you only have a lb and service, it wont present anything.

-- pkelleratwork
Source: StackOverflow