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

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

Build:
Build:
LAST BUILD BRANCH: fix/ut-failures
DEFAULT BRANCH: master
Ran 31 Mar 2026 10:30AM 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 10:19AM UTC coverage: 62.915% (-0.1%) from 63.017%
23792371600

push

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)

358 of 673 new or added lines in 4 files covered. (53.19%)

371 existing lines in 7 files now uncovered.

9787 of 15556 relevant lines covered (62.91%)

0.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
130
47.2
0.0% pkg/daemon/daemon.go
116
69.89
-1.02% controllers/sriovnetworknodepolicy_controller.go
55
66.67
0.0% controllers/helper.go
14
71.83
0.0% controllers/sriovoperatorconfig_controller.go

Coverage Regressions

Lines Coverage ∆ File
122
47.2
0.0% pkg/daemon/daemon.go
119
69.89
-1.02% controllers/sriovnetworknodepolicy_controller.go
63
66.67
0.0% controllers/helper.go
59
71.83
0.0% controllers/sriovoperatorconfig_controller.go
5
77.49
-2.16% controllers/generic_network_controller.go
2
85.47
-1.71% pkg/utils/cluster.go
1
94.74
0.0% pkg/featuregate/featuregate.go
Jobs
ID Job ID Ran Files Coverage
1 23792371600.1 31 Mar 2026 10:30AM UTC 108
62.91
GitHub Action Run
Source Files on build 23792371600
  • Tree
  • List 108
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23792371600
  • da9edc13 on github
  • Prev Build on dra-poc (#23762985452)
  • Next Build on dra-poc (#23792784975)
  • 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