Exposes the Service externally using a cloud provider's load balancer. NodePort and ClusterIP Services, to
which the external load balancer routes, are automatically created.
1.
2. This service example we can't run on minikube you can test it on any cloud provider K8s service or instance.
On cloud providers which support external load balancers, setting the type field to loadBlancer provisions a
load balancer for your Service.
3.
The actual creation of the load balancer happens asynchronously, and information about the provisioned
balancer is published in the Service's .status.loadBalancer field.
Commands:
1. kubectl apply -f filename.yaml
2. Kubectl get all
3. Kubectl get svc
4. Copy the loadBlancer Ip with port
5. Run on browser and you can able to get the pod which is running inside the cluster