mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 00:31:17 -08:00
Proxies only serve /healthz, which reports whether the node has a tailnet IP, so it can't back a liveness or readiness probe. When TS_ENABLE_HEALTH_CHECK is set, containerboot now also serves /livez, which fails only when tailscaled stops answering LocalAPI, and /readyz, which passes once the node has tailnet IPs and, with TS_SERVE_CONFIG set, has applied the serve config and has a cert for each HTTPS-only Tailscale Service it advertises. Certs are checked through the read-only cert-status endpoint so the probe never triggers issuance. An expired or unreadable cert counts as present, as failing readiness on it would stop a StatefulSet rollout before it reaches the replica that renews certs. Updates tailscale/corp#38175 Signed-off-by: chaosinthecrd <[email protected]>