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

qiniu / kube-ovn / 24671630657
25%
master: 26%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/containerd/containerd/v2-2.2.4
DEFAULT BRANCH: master
Ran 20 Apr 2026 02:20PM UTC
Jobs 1
Files 206
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Apr 2026 02:17PM UTC coverage: 24.782% (+0.2%) from 24.541%
24671630657

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

Uncovered Changes

Lines Coverage ∆ File
77
27.41
23.9% pkg/controller/service.go
48
0.0
0.0% pkg/controller/vip.go
13
1.12
-0.01% pkg/controller/controller.go
12
40.83
6.39% pkg/speaker/subnet.go
5
2.05
2.05% pkg/controller/config.go
2
4.95
-0.03% pkg/speaker/config.go
1
0.0
0.0% pkg/webhook/webhook.go

Coverage Regressions

Lines Coverage ∆ File
2
27.41
23.9% pkg/controller/service.go
2
61.61
-0.62% pkg/ovs/ovn-nb-bfd.go
1
0.0
0.0% pkg/controller/vip.go
Jobs
ID Job ID Ran Files Coverage
1 24671630657.1 20 Apr 2026 02:20PM UTC 206
24.78
GitHub Action Run
Source Files on build 24671630657
  • Tree
  • List 206
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #46
  • PR Base - master (#24559711775)
  • Delete
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