Repository navigation
Description
What is the issue?
What happened?
When a service is exposed via the Tailscale Kubernetes operator, and the external Tailscale client has a tailscale0 MTU larger than the Tailscale proxy pod's tailscale0 MTU (e.g., client 1460 vs. proxy 1280), connections become extremely slow or fail. Packet captures show the Tailscale proxy pod correctly sending ICMP "Fragmentation Needed" messages (indicating its 1280 MTU egress path for Tailscale) to the backend service pod (e.g., Traefik) within the cluster. However, the backend service pod does not consistently reduce its segment size in response to these ICMPs. This leads to repeated ICMP generation, packet loss between the proxy pod and the client, and eventual connection timeouts or severe retransmission delays.
What did you expect to happen?
We expected Path MTU Discovery to function correctly, with the backend service pod (Traefik) honoring the ICMP "Fragmentation Needed" messages from the Tailscale proxy pod. This should lead to the backend service adjusting its segment size to fit the 1280 MTU path through the Tailscale proxy, resulting in smooth data transfer to the client, regardless of the client's initially larger tailscale0 MTU.
Steps to reproduce
- Deploy the Tailscale Kubernetes operator (
v1.84.0) and expose an HTTP service (e.g., Traefik). - Configure the underlying CNI (Cilium
v1.17.4) with a global MTU higher than Tailscale's typical link MTU (e.g., Cilium MTU 9001, resulting in podeth0interfaces of 9001). - Ensure the Tailscale proxy pod's internal
tailscale0interface is using its default MTU (typically 1280). - Configure an external Tailscale client with a
tailscale0MTU larger than the proxy pod'stailscale0(e.g., clienttailscale0MTU 1460). - Ensure TSO/GSO is OFF on the backend service pod (e.g., Traefik) to force it to segment packets based on its
eth0MTU. - Attempt to download a file from the exposed service using the client.
- Observe extremely slow transfer or timeout. Packet captures on the Kubernetes node (e.g.,
tcpdump -i any) will show ICMP "Fragmentation Needed" from the Tailscale proxy pod'seth0IP directed at the backend service pod, but the backend service continues to send packets that are too large for the Tailscale proxy's 1280 MTUtailscale0egress.
Are there any recent changes that introduced the issue?
No response
OS
Linux
OS version
Ubuntu 22.04 LTS
Tailscale version
1.84.0
Other software
Kubernetes: K3s v1.32.5+k3s1
CNI: Cilium v1.17.4 (with kubeProxyReplacement=true, native routing)
Backend Service Example: Traefik (e.g., rancher/mirrored-library-traefik:3.3.6)
Bug report
BUG-4a2f9f1c8f01f20a2de1a2f190694565825a46afd4b7cc968119b8fc2f30239d-20250605094406Z-30ffb5f1704cedb5
Activity
mpstefan commentedon Mar 17, 2026
Related to MTU issues with Cilium.