How does a load balancer service work?

0 votes
Could somebody please explain how exactly does a load balancer service in kubernetes work?
Jul 15 in Kubernetes by Sam
• 2,620 points
18 views

1 answer to this question.

0 votes

Cloud Provider normally sets up LoadBalancer as a TCP Load Balancer

The Kubernetes controller manager helps to provision a load balancer in the cloud and configures all the Kubernetes nodes into the load balancer network. 

As each node in the pod is assumed to be running kube-proxy and listening to the specific NodePort where it can forward incoming requests to a pod that is available for the service

Because each node is assumed to be running kube-proxy it should be listening on the appropriate NodePort and then it can forward incoming requests to a pod that is available for the service. 

As LoadBalancer is set to TCP by default, higher level features of HTTP LoadBalancer are not available.

answered Jul 15 by Sirajul
• 31,980 points

Related Questions In Kubernetes

0 votes
1 answer

How can I access a service installed on Kubernetes from anywhere?

I have followed the link which you have ...READ MORE

answered Jul 23, 2018 in Kubernetes by Atul
• 10,240 points
145 views
0 votes
1 answer

How do I create a service account for my dashboard and get all the credentails

Run the following commands: This command will create ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 41,820 points
284 views
0 votes
1 answer

How to configure load balancer in kubernetes ?

In the deployment file keep the type ...READ MORE

answered Dec 3, 2018 in Kubernetes by Haseeb
62 views
0 votes
1 answer

How do i tie a service to a pod or a set of pods?

By declaring pods with the label(s) and ...READ MORE

answered Jul 16 in Kubernetes by Sirajul
• 31,980 points
35 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
2,665 views
+3 votes
1 answer
0 votes
1 answer

How does DNS work in kubernetes?

DNS is a built-in service in Kubernetes. ...READ MORE

answered Jul 12 in Kubernetes by Sirajul
• 31,980 points
38 views
0 votes
1 answer