Ohad
Ohad

Reputation: 1631

For Kubernetes cluster, shouldn't we have two load balancers instead of one?

In al the tutorials about Kubernetes cluster I have read I didn't see that they mention to 2 load balancers, but only one for the ingress pods.

However, in a proper production environment, should's we have 2 different load balancers?

  1. to balance between the master nodes for requests to the ApiServer.
  2. to balance between the Ingress podes to control the external traffic.

Upvotes: 0

Views: 606

Answers (1)

Nataraj Medayhal
Nataraj Medayhal

Reputation: 1221

  1. to balance between the master nodes for requests to the ApiServer.

For all production environments its advised to have load balancer for API Server. This is the first step as part of K8S HA mode creation. More details are in k8s documentation

  1. to balance between the Ingress podes to control the external traffic.

You are correct for this also it’s definitely required to handle external traffic. All the ingress services are created of LoadBalancer Type in their implementations.

Upvotes: 2

Related Questions