mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-09 06:31:25 +02:00
This switches the last usage of Kubernetes controlplane endpoint to use `localhost` (itself) for controlplane nodes. Worker nodes still use cluster-wide controlplane endpoint. This allows controlplane nodes to boot fully even if the controlplane endpoint (e.g. loadbalancer) doesn't function. The process of joining etcd still requires either a discovery service or a proper functioning controlplane endpoint. With this fix, Talos controlplane nodes can boot successfully without a loadbalancer being up, while worker nodes obviously won't join. This improves Talos behavior in single-node clusters when controlplane endpoint is not available, the node will still boot just fine and function properly. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>