kubectl logs/exec 502 against tailnet-joined nodes #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-22T13:55:43Z - https://github.com/coilysiren/infrastructure/issues/279
Symptom -
kubectl logs <pod>andkubectl execagainst pods onkai-macbook-pro-vmreturn502 Bad Gateway:proxy error from 127.0.0.1:6443 while dialing 100.96.209.24:10250.Ruled out
*:10250https://100.96.209.24:10250/healthzreturns 401, so the endpoint is upufwis inactive in the VM100.96.209.24tailscale ping kai-serverreturns a direct pong at 24msLikely root - either the k3s
egress-selector-mode=agentkonnectivity tunnel, or a kai-server-initiated tailnet path asymmetry (the VM is double-NATed behind the Mac). The apiserver-to-kubelet direction specifically.Context -
kai-macbook-pro-vmis a Lima VM on the Mac, joined over Tailscale, intentionally cordoned. Pod scheduling and local container execution work (verified viacrictl logson the node). Only the apiserver-proxied logs/exec path is affected. Thekai-desktop-tower-wslnode likely has the same class of issue, worse: its InternalIP172.27.244.126is a WSL NAT address that is not control-plane-routable at all.Found while standing up the Mac as a learning node.