Kubernetes node Device port (USB) mapping to POD? Or Swarm service --device mapping
问题 Is it possible to map, the device port(USB port) of a worker node, to a POD? Similar to docker create --device=/dev/ttyACM0:/dev/ttyACM0 Is it possible? I checked the refence doc, but could not find anything. In Docker service, is it possible to map --device port to service container(if I am running only 1 container)? 回答1: You can actually get this to work. You need to run the container privileged and use a hostPath like this: containers: - name: acm securityContext: privileged: true