Subnet router in kubernetes not showing up in machine list

hello, I am using the instructions on tailscale.com to launch a subnet router in my k8s cluster, so that I can access pods directly. The pod is healthy, however it is not showing up as a list of machines in my account so I can authorize the subnets. here are the pod logs.

2022/08/21 14:03:27 LogID: 195ab103ea6a313e7d8a446b0f78e58c5df19157bd9dbcdc7bc104ad9f228391
2022/08/21 14:03:27 filch failed: filch: open /.cache/Tailscale/tailscaled.log1.txt: no such file or directory
2022/08/21 14:03:27 logpolicy: using UserCacheDir, "/.cache/Tailscale"
logpolicy.ConfigFromFile /.cache/Tailscale/tailscaled.log.conf: open /.cache/Tailscale/tailscaled.log.conf: no such file or directory
logpolicy.Config.Validate for /.cache/Tailscale/tailscaled.log.conf: config is nil
logpolicy.Config.Save for /.cache/Tailscale/tailscaled.log.conf: mkdir /.cache: permission denied
2022/08/21 14:03:27 wgengine.NewUserspaceEngine(tun "userspace-networking") ...
2022/08/21 14:03:27 dns: using dns.noopManager
2022/08/21 14:03:27 link state: interfaces.State{defaultRoute=eth0 ifs={eth0:[10.244.180.1/32]} v4=true v6=false}
2022/08/21 14:03:27 magicsock: disco key = d:dbebac2bb1b888d9
2022/08/21 14:03:27 Creating WireGuard device...
2022/08/21 14:03:27 Bringing WireGuard device up...
2022/08/21 14:03:27 Bringing router up...
2022/08/21 14:03:27 Clearing router settings...
2022/08/21 14:03:27 Starting link monitor...
2022/08/21 14:03:27 Engine created.
2022/08/21 14:03:27 Start
2022/08/21 14:03:32 ipnserver: conn2: connection from userid 1000; connection from non-root user matching daemon has access
2022/08/21 14:03:32 Start
2022/08/21 14:03:37 ipnserver: conn2: GotCommandMsg: loading requested state: backend prefs: store.ReadState("_daemon"): Get "https://kubernetes.default.svc/api/v1/namespaces/default/secrets/tailscale-auth": context deadline exceeded
2022/08/21 14:03:57 logtail: dial "log.tailscale.io:443" failed: dial tcp: lookup log.tailscale.io: i/o timeout (in 30.003s), trying bootstrap...
2022/08/21 14:04:07 trying bootstrapDNS("derp4d.tailscale.com", "134.122.94.167") for "log.tailscale.io" ...
2022/08/21 14:04:07 bootstrapDNS("derp4d.tailscale.com", "134.122.94.167") for "log.tailscale.io" = [2600:1f18:429f:9305:4043:217b:512c:f8d4 34.229.201.48]
2022/08/21 14:04:07 logtail: bootstrap dial succeeded

This is what looks like the issue, I just don’t know how to solve it.

2022/08/21 14:03:37 ipnserver: conn2: GotCommandMsg: loading requested state: backend prefs: store.ReadState("_daemon"): Get "https://kubernetes.default.svc/api/v1/namespaces/default/secrets/tailscale-auth": context deadline exceeded```

thanks

Anyone? I am totally stuck, yes I have googled and followed the docs pretty closely.

Hi Dax,

That doesn’t give me enough information to know what might be the cause. Can you bring it up and run tailscale bugreport and send that code to support@tailscale.com

If you can’t get in to run a bug report, send us the IP address (100.x.y.z) which is listed on your machines page here: Tailscale

Sorry I was away for a bit. When I try to run the bug report. I get

/ $ tailscale bugreport
Failed to connect to local Tailscale daemon for /localapi/v0/bugreport; not running? Error: dial unix /var/run/tailscale/tailscaled.sock: connect: no such file or directory
/ $ ps ax
PID   USER     TIME  COMMAND
    1 1000      0:00 /bin/sh /tailscale/run.sh
    7 1000      0:14 tailscaled --socket=/tmp/tailscaled.sock --state=kube:tailscale-auth --statedir=/tmp --tun=userspace-networking
    8 1000      0:00 tailscale --socket=/tmp/tailscaled.sock up --advertise-routes=10.96.0.0/12,10.244.0.0/16 --accept-dns=false
   22 1000      0:00 sh
   36 1000      0:00 sh -c clear; (bash || ash || sh)
   43 1000      0:00 ash
   49 1000      0:00 ps ax

The router doesn’t show up in the list.

Thank
Brad

I fixed it… not sure how. I think it had to do with my pfsense. Followed the guide.