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

rollandf / sriov-network-operator / 30014828723
64%
master: 64%

Build:
Build:
LAST BUILD BRANCH: dra-poc
DEFAULT BRANCH: master
Ran 23 Jul 2026 02:26PM UTC
Jobs 1
Files 114
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

23 Jul 2026 02:13PM UTC coverage: 63.565% (-0.5%) from 64.017%
30014828723

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)

366 of 706 new or added lines in 4 files covered. (51.84%)

3 existing lines in 1 file now uncovered.

10267 of 16152 relevant lines covered (63.56%)

0.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
135
69.49
0.25% controllers/sriovnetworknodepolicy_controller.go
130
49.2
-9.7% pkg/daemon/daemon.go
61
65.1
-5.73% controllers/helper.go
14
74.27
-1.32% controllers/sriovoperatorconfig_controller.go

Coverage Regressions

Lines Coverage ∆ File
3
65.1
-5.73% controllers/helper.go
Jobs
ID Job ID Ran Files Coverage
1 30014828723.1 23 Jul 2026 02:26PM UTC 114
63.56
GitHub Action Run
Source Files on build 30014828723
  • Tree
  • List 114
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30014828723
  • 27b8d5a5 on github
  • Prev Build on master (#29342784233)
  • Next Build on dra-poc (#30016292902)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc