Hi, I managed to somehow make it work with device plugins. There are a few implementations of “generic” device plugins for Kubernetes that are capable of loading any random device into the pod. I personally found this one interesting:
The code is written very simply. You might adapt it for some specific actions, but as it is, it should help you out with a simple serial device.
For privileged mode, you should pass the device pseudo link (/dev/ttyUSB0
) as a volume to the container. The rest should be practically possible. I hope this response will help you on this matter.