Skip to content

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

@haodeon

Description

@haodeon

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions