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

rollandf / sriov-network-operator / 23794542826
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: fix/ut-failures
DEFAULT BRANCH: master
Ran 31 Mar 2026 11:28AM UTC
Jobs 1
Files 108
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

31 Mar 2026 11:17AM UTC coverage: 63.005% (-0.4%) from 63.43%
23794542826

Pull #35

github

rollandf
feat: integrate dra-driver-sriov as device-plugin alternative

Add optional Dynamic Resource Allocation mode behind the
dynamicResourceAllocation feature gate: deploy the SR-IOV DRA driver instead
of the network device plugin, and keep SR-IOV configuration aligned with
Multus/NAD-oriented networking.

Deployment & RBAC
- Add bindata manifests under bindata/manifests/dra-driver/: basic DeviceClass,
  ServiceAccount, ClusterRole/Role (incl. pod access), ClusterRoleBinding,
  DaemonSet with init container (image from SRIOV_DRA_DRIVER_IMAGE /
  SRIOV_NETWORK_CONFIG_DAEMON_IMAGE).
- Extend operator and Helm chart ClusterRoles for DRA driver APIs and
  resource.k8s.io DeviceClass management.
- Chart: sriovDraDriver image value and operator env wiring.

CRDs
- Vendor SriovResourcePolicy and DeviceAttributes CRDs (chart + test util)
  aligned with dra-driver-sriov.

Operator controllers
- SriovOperatorConfig: when DRA is enabled, sync DRA driver objects and skip
  device-plugin DaemonSet path; when disabled, tear down DRA DaemonSet and
  related sync uses device plugin as today.
- SriovNetworkNodePolicy: when DRA is enabled, generate/sync DeviceAttributes
  (per resource pool), SriovResourcePolicy (per node) from SriovNetworkNodePolicy,
  extended-resource DeviceClass objects (resource.k8s.io), with cleanup when
  policies or DRA mode change; keep existing device-plugin ConfigMap flow when
  DRA is off.
- Helper: syncDRADriverObjs, cleanupDRADriverObjs, GetNodeSelectorForDRADriver.

Config daemon
- Discover and coordinate with sriov-dra-driver pods (labels/behavior) alongside
  existing device-plugin logic.

Dependencies & API
- Add github.com/k8snetworkplumbingwg/dra-driver-sriov module and register
  SriovResourcePolicy / DeviceAttributes types in the manager scheme.

Documentation
- Add doc/design/DRA-integration.md and extend doc/advanced-features.md for
  the DRA feature gate and behavior.

Tests
- Extend controller tests for DRA sync/cleanup paths and h... (continued)
Pull Request #35: Dra poc

360 of 676 new or added lines in 4 files covered. (53.25%)

9 existing lines in 3 files now uncovered.

9803 of 15559 relevant lines covered (63.01%)

0.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
130
47.2
-9.89% pkg/daemon/daemon.go
117
70.67
-1.75% controllers/sriovnetworknodepolicy_controller.go
55
66.67
-3.41% controllers/helper.go
14
71.83
-1.54% controllers/sriovoperatorconfig_controller.go

Coverage Regressions

Lines Coverage ∆ File
7
70.67
-1.75% controllers/sriovnetworknodepolicy_controller.go
1
66.96
-0.45% controllers/drain_controller_helper.go
1
66.67
-3.41% controllers/helper.go
Jobs
ID Job ID Ran Files Coverage
1 23794542826.1 31 Mar 2026 11:28AM UTC 108
63.01
GitHub Action Run
Source Files on build 23794542826
  • Tree
  • List 108
  • Changed 8
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23794542826
  • Pull Request #35
  • PR Base - master (#23205447931)
  • Delete
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