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

SchSeba / multus-cni
51%
master: 50%

Build:
Build:
LAST BUILD BRANCH: dra_implementation
DEFAULT BRANCH: master
Repo Added 11 Jan 2023 11:05AM UTC
Token 38XI6fU5Md2QkoGOUDagXudSsVWSnaS4g regen
Build 14 Last
Files 27
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

LAST BUILD ON BRANCH dra_implementation
branch: dra_implementation
CHANGE BRANCH
x
Reset
Sync Branches
  • dra_implementation
  • master
  • support_mtu

14 Jan 2026 07:59AM UTC coverage: 50.822%. First build
20986733204

push

github

SchSeba
feat: Migrate DRA integration from v1alpha2 to v1 API

Migrate Dynamic Resource Allocation (DRA) integration from the alpha
v1alpha2 API to the stable v1 API introduced in Kubernetes 1.34.

Major changes:
- Update RBAC permissions to access resource.k8s.io API resources
  (resourceclaims, resourceslices) instead of using kubelet API
- Replace kubelet-based DRA resource discovery with direct API queries
  using new draclient package
- Update documentation from ResourceClass to DeviceClass terminology
- Change resourceName annotation format to <claim-name>/<request-name>
- Update examples from NVIDIA-specific to generic SR-IOV usage
- Add comprehensive test coverage for DRA integration
- Remove CDI-based device handling in favor of k8s.cni.cncf.io/deviceID
  attributes

Technical details:
- Add draclient.GetPodResourceMap() call in k8sclient
- Remove getDRAResources() from kubeletclient (now queries API directly)
- Update to use ResourceClaimTemplate instead of ResourceClaim
- Fix protobuf field naming (CDIDevices -> CdiDevices)
- Add 6 new test cases for DRA scenarios in k8sclient_test.go

This migration enables Multus to work with the stable DRA API and
removes dependency on kubelet's PodResources API for DRA resources.

Signed-off-by: Sebastian Sch <sebassch@gmail.com>

13 of 18 new or added lines in 3 files covered. (72.22%)

2504 of 4927 relevant lines covered (50.82%)

6.44 hits per line

Relevant lines Covered
Build:
Build:
4927 RELEVANT LINES 2504 COVERED LINES
6.44 HITS PER LINE
Source Files on dra_implementation
  • Tree
  • List 27
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20986733204 dra_implementation feat: Migrate DRA integration from v1alpha2 to v1 API Migrate Dynamic Resource Allocation (DRA) integration from the alpha v1alpha2 API to the stable v1 API introduced in Kubernetes 1.34. Major changes: - Update RBAC permissions to access resour... push 14 Jan 2026 08:02AM UTC SchSeba github
50.82
See All Builds (14)

Badge your Repo: multus-cni

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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