how do I mount usb drive to a container/pod

4/26/2020

I am working on a kubernetes project at them moment. right now the application is broken up into several pods. The current ask is to spin up a new pod with priviledged rights, and use it to dynamically detect and mount usb drives to the pod from the host machine.

I have tried using a udev rule that gets copied to the pod, the problem is the udev rule does not trigger in the pod. I have the same udev rule on the host machine with the same rights, and pathed the same way and it does trigger there.

If anyone has any suggestion or help it would be beneficial. Thank you.

-- HrizukM
automation
docker
kubernetes
udev

0 Answers