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

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

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2025 04:18PM UTC
Jobs 1
Files 94
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

29 Oct 2025 02:52AM UTC coverage: 74.845% (-0.03%) from 74.877%
19014685993

push

github

web-flow
Label node with Interconnect Group ID (placeholder implementation) (#9559)

What type of PR is this?
/kind feature

What this PR does / why we need it:
This adds the infrastructure/plumbing code for Interconnect Group node labeling but with a placeholder implementation that returns empty string. This allows the infrastructure to be in place and tested without breaking anything, while the actual IMDS parsing implementation can be added later when the format is finalized.

Which issue(s) this PR fixes:
N/A (New feature - infrastructure preparation)

Special notes for your reviewer:
Changes:
- pkg/consts: Add LabelInterconnectGroup constant
- pkg/provider: Add GetInterconnectGroupId method (returns empty)
- pkg/nodemanager: Add GetInterconnectGroupId to interface and integration code
- pkg/node: Implement GetInterconnectGroupId for both IMDS and ARM providers (both return empty)
- pkg/provider: Add minimal unit test

Behavior:
- GetInterconnectGroupId() always returns ("", nil)
- No label is applied to nodes
- No errors, nothing breaks
- Infrastructure is ready for future implementation

This approach allows:
1. Code review and testing of the infrastructure separately
2. Future IMDS parsing logic to be added without modifying the interface
3. Safe deployment - guaranteed not to break anything
4. No assumptions about IMDS format (no TagsList or other structures added)

Does this PR introduce a user-facing change?
NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
NONE

13844 of 18497 relevant lines covered (74.84%)

881.04 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
0.0
0.0% node/nodearm.go
3
0.0
0.0% node/node.go
97
75.49
-0.56% nodemanager/nodemanager.go
Jobs
ID Job ID Ran Files Coverage
1 19014685993.1 02 Nov 2025 04:18PM UTC 94
74.84
GitHub Action Run
Source Files on build 19014685993
  • Tree
  • List 94
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19014685993
  • 3b70d8b5 on github
  • Prev Build on master (#18864191476)
  • Next Build on master (#19017394480)
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