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

kubernetes-sigs / cloud-provider-azure / 24760862859
75%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2026 05:09AM UTC
Jobs 1
Files 95
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

21 Apr 2026 11:55AM UTC coverage: 75.136% (+0.1%) from 75.009%
24760862859

push

github

web-flow
fix(multi-slb): support IP sharing across multiple services (#9937)

* fix(multi-slb): support IP sharing across multiple services

- Select load balancer based on where IP resides
- Block conflicting LB and IP configurations
- Block service if IP resides on an ineligible load balancer
- Block LB migration if frontend IP is shared with other services
- Reconcile multi-slb config status when using multi-slb and LB rules changed
- Clean up orphaned frontend IPs and stale LB resources during migration
- Add case-insensitive check for eligible load balancers
- Reverse load balancer loop to avoid panic after deletion

* test(multi-slb): add unit tests for IP sharing and LB migration

* test(e2e): add e2e tests for multi-slb IP sharing

* fix(multi-slb): update removeStaleServiceLBResources to return deletedPLS

* fix(multi-slb): return error from getLoadBalancerNameByPublicIP

* fix(multi-slb): address comments

- Remove error logs before returning errors per logging conventions
- Wrap errors with context using fmt.Errorf
- Return error instead of continue on isFrontendIPConfigUnsafeToDelete failure
- Add deletedLBName check before backend pool cleanup in stale path
- Use StringInSliceIgnoreCase in getMostEligibleLBForService
- Improve migration blocked message to cover other FIP reference types
- Add test case for stale resource cleanup with local service backend pool

* fix(multi-slb): skip shared probe in lbHasServiceOwnedResources

lbHasServiceOwnedResources incorrectly returned true when the LB had a
shared health probe but no service-owned rules. This caused unnecessary
calls to removeStaleServiceLBResources and reconcileMultipleStandardLoadBalancerConfigurationStatus.

Skip the shared probe in the ownership check: if the service uses it,
there must also be a service-owned rule referencing it, which the rule
check already catches. Service-specific probes are still checked as a
defensive measure against orphaned probes.

Add tests for TestLbHasService... (continued)

14529 of 19337 relevant lines covered (75.14%)

846.3 hits per line

Coverage Regressions

Lines Coverage ∆ File
334
84.25
0.08% provider/azure_loadbalancer.go
23
89.86
-0.95% provider/azure_utils.go
2
74.24
-1.52% cache/azure_cache.go
Jobs
ID Job ID Ran Files Coverage
1 24760862859.1 22 Apr 2026 05:09AM UTC 95
75.14
GitHub Action Run
Source Files on build 24760862859
  • Tree
  • List 95
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24760862859
  • d345e37d on github
  • Prev Build on master (#24705306802)
  • Next Build on master (#24768400966)
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