Repository navigation
fix: transparently recover pre-0.7 load balancers after upgrade - #73
Merged
Merged
Conversation
pando85
enabled auto-merge (squash)
October 13, 2026 21:52
pando85
disabled auto-merge
October 13, 2026 21:53
Merged
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.
Problem
0.6.x named Hetzner LBs after the Kubernetes Service (
kube-apiserver-lb), while 0.7.x changed the default to<service>.<namespace>and added UID ownership. The 0.7.1 adoption logic only checks namespace-qualified names, so an existing private-only LB can be missed. If 0.7.x has already created a replacement LB, its attempt to attach the original static private IP fails with Hetzner422 ip_not_available.Fix
ROBOTLB_CLUSTER_NAMEset, while preserving strict finalizer + ingress-address ownership evidence.No version bump or release changes.
Incident reproduced from customer symptoms
Existing Service
kube-system/kube-apiserver-lbhasrobotlb/lb-private-ip: 172.29.0.1; the original Hetzner LBkube-apiserver-lbstill owns it. 0.7.x createskube-apiserver-lb.kube-systemand Hetzner returns422 ip_not_availableon network attachment.Validation
cargo fmt, clippy (-D warnings) and tests. No local Rust toolchain is available in this execution environment, so GitHub CI is the validation gate before merging.