AKS-Edge icon indicating copy to clipboard operation
AKS-Edge copied to clipboard

[Feature] kube-vip-cloud-provider loadBalancerClass support

Open haodeon opened this issue 1 year ago • 1 comments

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-provider to at least 0.0.10.
  • Provide a way enable KUBEVIP_ENABLE_LOADBALANCERCLASS: true environment 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.

haodeon avatar Oct 14 '24 10:10 haodeon

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.

parameshbabu avatar May 06 '25 22:05 parameshbabu