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

Azure / karpenter-provider-azure / 22782127308
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: comtalyst/spot-systempool-header
DEFAULT BRANCH: main
Ran 06 Mar 2026 09:22PM UTC
Jobs 1
Files 162
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

06 Mar 2026 09:10PM UTC coverage: 93.531% (-0.2%) from 93.708%
22782127308

Pull #1497

github

comtalyst
feat: add multi-subscription support and dataDiskSizeGB to AzureNodeClass

Add per-NodeClass subscription, resource group, and location overrides
so VMs can be provisioned in different Azure subscriptions from a single
controller. Implement AZClientManager for thread-safe per-subscription
Azure SDK client caching with lazy initialization.

Also add dataDiskSizeGB field to attach a Premium_LRS managed data disk
at LUN 0 for container runtime storage or scratch space.

Changes:
- Add subscriptionID, resourceGroup, location, dataDiskSizeGB to
  AzureNodeClass CRD (v1alpha1) with kubebuilder validation markers
- Add corresponding json:"-" adapter fields to AKSNodeClass (v1beta1)
- Update AKSNodeClassFromAzureNodeClass adapter to map new fields
- Implement AZClientManager with double-checked locking for per-sub
  VM, NIC, Extension, and Subnet client creation
- Wire resolveEffectiveClients() into VM provider to route VM/NIC
  creation to correct subscription/RG/location
- Add setVMPropertiesDataDisk() following existing setVMProperties* pattern
- Update CRD YAML with new field definitions
- Add unit tests for all new functionality

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #1497: feat: add multi-subscription support and dataDiskSizeGB

61 of 180 new or added lines in 5 files covered. (33.89%)

2 existing lines in 1 file now uncovered.

58835 of 62904 relevant lines covered (93.53%)

0.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
16
64.63
-3.26% pkg/apis/v1beta1/zz_generated.deepcopy.go
20
0.0
0.0% pkg/apis/v1alpha1/zz_generated.deepcopy.go
24
86.13
-2.06% pkg/providers/instance/vminstance.go
59
10.61
pkg/providers/azclient/azclient_manager.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
92.31
-7.69% pkg/fake/pricingapi.go
Jobs
ID Job ID Ran Files Coverage
1 22782127308.1 06 Mar 2026 09:22PM UTC 162
93.53
GitHub Action Run
Source Files on build 22782127308
  • Tree
  • List 162
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1497
  • PR Base - comtalyst/azure-vm-provider (#22745058098)
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