feat: the virtualization-dra-usb plugin adds usbip support#1840
Open
yaroslavborbat wants to merge 4 commits intofeat/dra-hotplug-claimsfrom
Open
feat: the virtualization-dra-usb plugin adds usbip support#1840yaroslavborbat wants to merge 4 commits intofeat/dra-hotplug-claimsfrom
yaroslavborbat wants to merge 4 commits intofeat/dra-hotplug-claimsfrom
Conversation
5268496 to
32b070f
Compare
4433052 to
9df9150
Compare
427a41e to
79b5c77
Compare
9df9150 to
5bd026c
Compare
8089dd5 to
08bee55
Compare
c050a3c to
95314ba
Compare
5bd026c to
f4e8a6d
Compare
95314ba to
f986754
Compare
f4e8a6d to
6a353c2
Compare
f025ba9 to
fe1d056
Compare
6a353c2 to
3c61d9d
Compare
fad896a to
3bdcd93
Compare
e06cc66 to
cb15e2b
Compare
e1b1402 to
0484325
Compare
cb15e2b to
1dd5c61
Compare
0484325 to
8160a37
Compare
1dd5c61 to
2842e89
Compare
8160a37 to
a2b7468
Compare
283d88b to
3fa871f
Compare
50282f6 to
f853292
Compare
z9r5
approved these changes
Feb 17, 2026
Isteb4k
requested changes
Feb 18, 2026
images/virtualization-dra/internal/usb-gateway/attach_record.go
Outdated
Show resolved
Hide resolved
3fa871f to
3f3ecfd
Compare
dbf843d to
3b96f98
Compare
cd9d1a5 to
f765c30
Compare
Signed-off-by: Yaroslav Borbat <yaroslav.borbat@flant.com>
Signed-off-by: Yaroslav Borbat <yaroslav.borbat@flant.com>
97b0f7b to
ab4da86
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
USBIP in DRA for Kubernetes
The virtualization-dra-usb DRA plugin adds usbip support: USB devices from any node in the cluster can be attached to pods on any other node.
How it works
USBGateway) is enabled: when a pod requests a device from another node, the controller uses usbip to export it on the source node and attach it on the node where the pod runs. The device appears locally via vhci and is passed into the pod as a regular USB device.As a result, any USB device from any node in the cluster can be attached to a pod on any node.
Flow (pod requests USB from another node)
sequenceDiagram participant Pod as Pod participant DRA as DRA (node with pod) participant usbipd as usbipd (node with USB) participant USB as USB device Pod->>DRA: ResourceClaim (device from another node) DRA->>usbipd: 1) Export(host, busID) usbipd->>USB: device available for export DRA->>usbipd: 2) Attach(host, busID) — vhci connects usbipd->>DRA: USB/IP link DRA->>DRA: device appears locally (vhci) DRA->>Pod: CDI / device into podSimplified view by nodes:
Checklist
Changelog entries