content_image/751340.jpg content_image/751339.jpg
<img src='content_image/751340.jpg'>

Another way of Service Discovery for external clients is through a load balancer. You have seen how a type:NodePort  Service builds on top of a regular Service with type: ClusterIP  by also opening a port on every node. The limitation of this approach is that we still need a load balancer for client applications to pick a healthy node. The Service type LoadBalancer  addresses this limitation. 

In addition to creating a regular Service, and opening a port on every node as with type: NodePort , it also exposes the service externally using a cloud provider’s load balancer. Figure 12-6 shows this setup: a proprietary load balancer serves as a gateway to the Kubernetes cluster. 

<img src='content_image/751339.jpg'>

