mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 02:31:18 -08:00
The relay server force-sets its UDP socket buffer sizes. The kernel requires the NET_ADMIN capability for this. Without it, tailscaled logs a warning and uses the kernel defaults. Dogfooding showed lower throughput and more dropped packets in that state. This commit adds NET_ADMIN to the tailscaled container in peer relay StatefulSets. A ProxyClass that sets a security context on the Tailscale container replaces the default, as for other proxy types. Fixes #21745 Change-Id: Ic84e243d7e6184afa4d0bb0c38c4be8eb899261b Signed-off-by: David Bond <[email protected]>