[Feature] kube-vip-cloud-provider loadBalancerClass support
Is your feature request related to a problem? Please describe.
The 0.0.2 version of kube-vip-cloud-provider used by AKS EE, does not support loadBalancerClass.
When creating a LoadBalancer service of class loxilb.io/loxilb, the provider continuously attempts to assign an IP to the service but fails.
loadBalancer.go:121] Updating service [tcp-lb-onearm], with load balancer IPAM address [192.168.xxx.xxx]
controller.go:275] error processing service default/tcp-lb-onearm (will retry): failed to ensure load balancer: error updating Service Spec [tcp-lb-onearm] : <nil>
Describe the solution you'd like
- Upgrade
kube-vip-cloud-providerto at least 0.0.10. - Provide a way enable
KUBEVIP_ENABLE_LOADBALANCERCLASS: trueenvironment variable
Describe alternatives you've considered
Tried applying kube-vip.io/ignore: true annotation to the service but only kube-vip ignores it. kube-vip-cloud-provider continues trying to assign an IP.
Additional context kube-vip/kube-vip-cloud-provider#61 loadBalancerClass feature request.
https://github.com/Azure/AKS-Edge/releases/tag/1.10.868.0 supports Kube-vip - v0.5.12 and kube-vip-cloud-provider - v0.0.10. This feature is not enabled though.