I have installed kubernetes using minikube on a single node. I have implemented ‘LoadBalancer’ type of service which manages 3 pods. By default, it uses a ‘network load balancer’. Can we change load balancer type in service .yaml file or can we change load balancer algorithm used? please find the service file below :
If your load-balancer implementation supports parameters like that, you can use custom annotations on the Service to pass that down. Not every LB supports them, so there are not standard fields for it.