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

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

Build:
Build:
LAST BUILD BRANCH: dra-26.7.x
DEFAULT BRANCH: master
Ran 01 Jul 2026 09:24AM UTC
Jobs 1
Files 110
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

01 Jul 2026 09:10AM UTC coverage: 63.263% (+0.4%) from 62.895%
28506579062

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)

359 of 701 new or added lines in 4 files covered. (51.21%)

558 existing lines in 12 files now uncovered.

10067 of 15913 relevant lines covered (63.26%)

0.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
137
67.88
-1.44% controllers/sriovnetworknodepolicy_controller.go
130
48.94
1.73% pkg/daemon/daemon.go
61
65.84
0.25% controllers/helper.go
14
74.27
2.44% controllers/sriovoperatorconfig_controller.go

Coverage Regressions

Lines Coverage ∆ File
126
67.88
-1.44% controllers/sriovnetworknodepolicy_controller.go
104
48.94
1.73% pkg/daemon/daemon.go
96
74.27
2.44% controllers/sriovoperatorconfig_controller.go
67
0.0
0.0% cmd/webhook/start.go
62
65.84
0.25% controllers/helper.go
60
66.85
1.42% pkg/webhook/validate.go
27
81.01
3.52% controllers/generic_network_controller.go
10
85.92
2.58% pkg/orchestrator/mock/mock_orchestrator.go
2
93.75
-6.25% pkg/daemon/config.go
2
85.47
-1.71% pkg/utils/cluster.go
1
94.74
0.0% pkg/featuregate/featuregate.go
1
86.36
3.03% pkg/orchestrator/kubernetes/kubernetes.go
Jobs
ID Job ID Ran Files Coverage
1 28506579062.1 01 Jul 2026 09:24AM UTC 110
63.26
GitHub Action Run
Source Files on build 28506579062
  • Tree
  • List 110
  • Changed 16
  • Source Changed 9
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28506579062
  • 8d27c490 on github
  • Prev Build on dra-poc (#24334764065)
  • 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