fix: configure Talos cluster for proper HA with VIP#30
Merged
Conversation
- Add cluster_vip variable (10.0.0.69) for HA API server endpoint - Update all control plane configs to use VIP as cluster_endpoint - Add VIP config_patches to control plane nodes for automatic failover - Update all worker configs to use VIP instead of individual CP IPs - Add kubernetes_version to worker configs for consistency - Fix kubernetes_version from 1.34.0 to 1.32.0 (stable) - Update talosconfig endpoints to include VIP and all CP nodes This fixes issues where workers pointed to different control planes, causing instability when individual CPs were unavailable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes the Talos cluster configuration for proper high availability.
Changes
cluster_vipvariable (10.0.0.69) for HA API server endpointcluster_endpointconfig_patchesto control plane nodes for automatic failoverkubernetes_versionto worker configs for consistencykubernetes_versionfrom 1.34.0 to 1.32.0 (stable)Problem
Previously, each worker pointed to a different control plane IP:
This caused instability when individual control planes were unavailable, as workers couldn't failover to other CPs.
Solution
All nodes now use a shared VIP (10.0.0.69) that floats between control plane nodes, providing true HA for the Kubernetes API server.
Testing
talosctl healthpasses on all control planes