Why And When You Need NodeBalancer?

Can you please explain why/When any service will need NodeBalancer?

I'm bit confused about its use.

2 Replies

When you have a site or service on a single node and the traffic requires you to scale horizontally. So then you have two or more nodes for the same service. You put them behind a load balancer which then sends each request, say, to one or the other, in a round robin or some other fashion.

A secondary advantage of this is that if one of the nodes goes down for some reason, the load balancer can automatically take it out of service with minimal impact to users.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct