In this guide you will learn how to expose host devices to the Kubernetes pods.
--device='{"name": "video", "groups": [{"paths": [{"path": "/dev/video0"}]}]}
.
In this guide, we will demonstrate how to deploy the device plugin with a configuration that exposes the /dev/net/tun
device.
This device is commonly used for user-space Wireguard, including Tailscale.
squat.ai/tun
(the tun
name comes from the name of the group in the device plugin configuration).:
/dev/net/tun
device:
/dev/net/tun
device available: