Fabric8 Documentation

Load Balancing

When you have one or more pods implementing a service then you need to load balance requests across them.

When your Microservice is running inside Kubernetes then the service discovery automatically takes care of load balancing across the available pods for you.

However if your Microservice exposes a web application or API which is intended to be used by users or Microservices hosted outside of the Kubenretes cluster, then you need to expose your Microservice to an external host endpoint.

To expose your Microservice you need to create an Ingress resource in Kubernetes which will then implement the external load balancer for you.