• 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: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 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 master
  • 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
20959385493 master Merge pull request #1467 from rollandf/go12411 chore: update Go version to 1.24.11 push 13 Jan 2026 02:00PM UTC web-flow github
49.72
18816157713 master Merge pull request #1451 from thomasferrandiz/bump-go-1.24 Bump to go 1.24 push 26 Oct 2025 09:42AM UTC web-flow github
49.72
16340134526 master Merge pull request #1435 from thomasferrandiz/fix-config-error-msg Add error message when the config is missing at startup push 17 Jul 2025 08:31AM UTC web-flow github
49.72
14969273316 master Merge pull request #1418 from rollandf/baseimage chore: update Dockerfile base image push 12 May 2025 09:59AM UTC web-flow github
52.96
12073867707 master Merge pull request #1353 from xrstf/master clean up go.mod, get rid of client-go v1.5.2 push 28 Nov 2024 06:20PM UTC web-flow github
56.45
8648441519 support_mtu Bump cni and network-attachment-definition-client This is to support the new MTU field in cni network results Signed-off-by: Sebastian Sch <sebassch@gmail.com> push 11 Apr 2024 02:31PM UTC SchSeba github
63.03
8648411498 master Merge pull request #1242 from k8snetworkplumbingwg/dependabot/go_modules/google.golang.org/protobuf-1.33.0 Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 push 11 Apr 2024 02:29PM UTC web-flow github
62.78
8648205798 support_mtu Bump cni and network-attachment-definition-client This is to support the new MTU field in cni network results Signed-off-by: Sebastian Sch <sebassch@gmail.com> push 11 Apr 2024 02:16PM UTC SchSeba github
62.78
8648183895 master Bump cni and network-attachment-definition-client This is to support the new MTU field in cni network results Signed-off-by: Sebastian Sch <sebassch@gmail.com> push 11 Apr 2024 02:15PM UTC SchSeba github
62.78
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