The load balancer service type is a relatively simple service alternative to ingress that uses a cloud-based external load balancer. The external load balancer service type's support is limited to specific cloud providers but is supported by the most popular cloud providers, including AWS, GCP, Azure, Alibaba Cloud, and OpenStack.
In this section, we will expose our workload ports using a load balancer. We will learn how to create an external GCE/AWS load balancer for clusters on public clouds, as well as for your private cluster using inlet-operator.
Make sure you have a Kubernetes cluster ready and kubectl and helm configured to manage the cluster resources. In this recipe, we are using a cluster that's been deployed on AWS using kops, as described in Chapter 1, Building Production-Ready Kubernetes Clusters, in the Amazon Web Services recipe. The same instructions will work on all major cloud providers.
To access the example...