https://rancher.com/ logo
Title
b

brash-planet-10109

09/12/2022, 2:11 PM
Hi All, In a 9 node cluster, one master (etcd+controlplane) and 8 worker nodes. No need of any load balancer I believe. But what if I have 3 master nodes and 6 worker nodes. Does rancher manages load balancing on it's own? Or specifically we need to deploy load balancing for this? I've deployed rancher using docker in a VM and from rancher UI I've provisioned Kubernetes cluster
@eager-refrigerator-66976 Will you be able to comment on this. I believe kube vip can help on load balancing part
e

eager-refrigerator-66976

09/15/2022, 7:56 AM
what kind of loadbalancing you mean? the workloads?
it doesn’t matter how many workers do you have, as it is just capacity for your cluster
b

brash-planet-10109

09/15/2022, 7:59 AM
Mainly I'm looking for load balancing option If we have 3 master nodes If I've one master, then by default worker nodes will connect to master. In case of 3 master, then there should be load balancing.
e

eager-refrigerator-66976

09/15/2022, 8:14 AM
if you have multiple masters you should not need any extra LB in front
b

brash-planet-10109

09/15/2022, 8:56 AM
In On Prem k8s Perspective: Actually we need a load balancer if we have multiple master nodes. The reason is the worker nodes will connect to master nodes, what if master-1 is down and worker nodes are connecting to master-1. How worker nodes will come to know master-1 is down and how it will try to connect to master-2. In order to achieve this, we need load balancer. Worker nodes ——>load balancer(kind of kube-vip) ——> Master Nodes
I'm looking for relevant docs As I've deployed cluster using Rancher UI and need load balancing solution