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

qiniu / kube-ovn / 24630458589

19 Apr 2026 01:40PM UTC coverage: 24.762% (+0.2%) from 24.541%
24630458589

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)

149 of 303 new or added lines in 7 files covered. (49.17%)

5 existing lines in 3 files now uncovered.

14027 of 56647 relevant lines covered (24.76%)

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