On the node I can see the USB drives that I would like to “redirect” to one of my VM’s:
sh-4.4# lsusb
Bus 004 Device 004: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
Bus 004 Device 008: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
Bus 004 Device 007: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
Bus 004 Device 006: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
Bus 004 Device 005: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
And I also know that this should be possible:
❯ k explain vmis.spec.domain.devices.clientPassthrough
KIND: VirtualMachineInstance
VERSION: kubevirt.io/v1
DESCRIPTION:
To configure and access client devices such as redirecting USB
To configure and access client devices such as redirecting USB
But I’m at a loss of how to actually put it in the yaml/config:
apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
<snipped>
domain:
<snipped>
devices:
clientPassthrough:
disk1: 1058:25ee
<snipped>
But that’s not it. Anyone have an example of how this should work?
Thanks!
Maas
p.s.
Links I’ve used / found: