• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

qiniu / kube-ovn / 24674400118

20 Apr 2026 03:13PM UTC coverage: 24.782% (+0.2%) from 24.541%
24674400118

Pull #46

github

zbb88888
feat(controller/speaker): add BGP LB EIP support via IptablesEIP type=lbSvc

- Extend IptablesEIP CRD with spec.type field; add IptablesEIPTypeLbSvc const
- Add handleAddLbSvcEip: IPAM-only allocation, no NAT GW pod involved
- Add --enable-bgp-lb-eip controller flag (config.EnableBgpLbEip)
- Add LbEipAnnotation (ovn.kubernetes.io/lb-eip) constant
- Add handleAddBgpLbEipService: reads EIP status.ip, writes svc.spec.externalIPs
  and svc.status.loadBalancer.ingress for kube-proxy DNAT
- Add collectSvcBgpPrefixes in speaker: announces LB svc ingress IPs via BGP
- Expose enable-bgp-lb-eip in both Helm charts (kube-ovn, kube-ovn-v2)
- Update generated CRDs (kube-ovn-crd.yaml, install.sh)
- Add unit tests for collectSvcBgpPrefixes

test(controller): add unit tests for handleAddBgpLbEipService

fix(controller): allow EnableLbSvc and EnableBgpLbEip to coexist independently

test(e2e): add bgp-lb-eip e2e test suite

Signed-off-by: zbb88888 <jmdxjsjgcxy@gmail.com>
Pull Request #46: support BGP EIP management for LoadBalancer(仅 review)

165 of 323 new or added lines in 7 files covered. (51.08%)

5 existing lines in 3 files now uncovered.

14043 of 56667 relevant lines covered (24.78%)

0.29 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

1.12
/pkg/controller/controller.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc