Files
tailscale/k8s-operator
David Bond fd1cc09139 k8s-operator/reconciler/peerrelay: add NET_ADMIN to peer relay pods (#21762)
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]>
2026-10-14 11:43:53 +01:00
..
2026-07-10 17:39:16 -07:00