mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 10:41:19 -08:00
k8s-proxy did not serve /livez or /readyz, so the operator skipped the probes for the kube-apiserver ProxyGroup even when a ProxyClass set them. This adds both to k8s-proxy (/livez passes while the LocalAPI answers, /readyz once the node has its tailnet IPs) and drops the exception from the operator. k8s-proxy takes its port from the config file that the operator writes, so its probes always use port 9002 and ignore TS_LOCAL_ADDR_PORT and TS_ENABLE_HEALTH_CHECK. The local server now starts before Up, so /livez answers while Up runs and while waiting for a reissued auth key. Updates tailscale/corp#38175 Signed-off-by: chaosinthecrd <[email protected]>