The LoadBalancer service
LoadBalancer
services are a very interesting service to explain because this service relies on the cloud platform where the Kubernetes cluster is provisioned. For it to work, it is thus required to use Kubernetes on a cloud platform that supports the LoadBalancer
service type.
Explaining the LoadBalancer services
Not all cloud providers support the LoadBalancer
service type, but we can name a few that do support it, as follows:
- AWS
- GCP
- Azure
- OpenStack
The list is not exhaustive, but it's good to know that all three major public cloud providers are supported.
If your cloud provider is supported, keep in mind that the load-balancing logic will be the one implemented by the cloud provider: you cannot control how the traffic will be routed to your Pods from Kubernetes; you will have to know how the load-balancer component of your cloud provider works. Consider it as a third-party component implemented as a Kubernetes kind...