-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
What is the issue?
I'm using tailscale 1.76 in kubernetes environment. When I create subnet router configuration. I get this error in statefulset pod:
tailscale 2024/12/01 11:51:00 wgengine.NewUserspaceEngine(tun "tailscale0") ... │
│ tailscale 2024/12/01 11:51:00 Linux kernel version: 6.11.10-300.fc41.x86_64 │
│ tailscale 2024/12/01 11:51:00 is CONFIG_TUN enabled in your kernel? `modprobe tun` failed with: modprobe: can't change directory to '/lib/modules': No such file or directory │
│ tailscale 2024/12/01 11:51:00 wgengine.NewUserspaceEngine(tun "tailscale0") error: tstun.New("tailscale0"): operation not permitted │
│ tailscale 2024/12/01 11:51:00 flushing log. │
│ tailscale 2024/12/01 11:51:00 logger closing down │
│ tailscale boot: 2024/12/01 11:51:00 failed to watch tailscaled for updates: 503 Service Unavailable │
│ tailscale 2024/12/01 11:51:00 getLocalBackend error: createEngine: tstun.New("tailscale0"): operation not permitted
Steps to reproduce
Install tailscale operator with this guide: https://tailscale.com/kb/1236/kubernetes-operator
Then create this connector:
❯ cat subnet-router.yml
apiVersion: tailscale.com/v1alpha1
kind: Connector
metadata:
name: ts-pod-cidrs
namespace: tailscale-k8s
spec:
hostname: kube-internal
subnetRouter:
advertiseRoutes:
- "10.96.0.0/12"
tags:
- "tag:k8s-pods"
Are there any recent changes that introduced the issue?
No response
OS
Linux
OS version
Fedora 41 Cloud Edition (6.11.10-300.fc41.x86_64)
Tailscale version
1.76.6 (in kubernetes pod)
Other software
No response
Bug report
No response
SeaweedbrainCY, ShunsukeMatsuno, rxbrad and bioluks