mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 11:36:26 -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]>
Tailscale Kubernetes operator deployment manifests
./cmd/k8s-operator/deploy contain various Tailscale Kubernetes operator deployment manifests.
Helm chart
./cmd/k8s-operator/deploy/chart contains Tailscale operator Helm chart templates.
The chart templates are also used to generate the static manifest, so developers must ensure that any changes applied to the chart have been propagated to the static manifest by running go generate tailscale.com/cmd/k8s-operator
Static manifests
./cmd/k8s-operator/deploy/manifests/operator.yaml is a static manifest for the operator generated from the Helm chart templates for the operator.