c1 (Update): split the LB pool into pinned and dynamic ranges #1741
No reviewers
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters!1741
Loading…
Reference in a new issue
No description provided.
Delete branch "c1-lb-pool-split"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #1673 (plan comment). First of the DNS PRs. Do not merge until reviewed.
Replaces the single
cilium-lb-pool(10.30.100.0/24 + fdd5:c8ef:2fa0💯:/64) with two non-overlapping range pools:pinnedlbipam.animeteamspeak.moe/pool: pinned, each naming its address withlbipam.cilium.io/ipsdynamicNotInmatches a missing label)Why a label selects the pool: Cilium has no pool-name annotation. A pool's
serviceSelectordecides which Services may use it, and a requested IP is only granted if the Service matches that pool (LB-IPAM docs, "Requesting IPs").What happens on apply
pinnedanddynamic, then prunescilium-lb-pool(cilium-bgphasprune: true). For that moment the new pools overlap the old one and get marked Conflicting. Cilium'ssettleConflictsclears the mark once the overlap is gone (operator/pkg/lbipam/lbipam.go, v1.20.4, lines 1792-1816), so no manual step is needed.gateway/cilium-gateway-cilium-default(10.30.100.1, ::1, no routes attached), loses its address with the old pool and gets a new one fromdynamic(.64 or above). Nothing references .1.Checked
task release:check CLUSTER=c1 CONTEXT=c1: gate OK, transition render OK.After merge I'll verify: both pools Ready and not Conflicting, the old pool gone, the gateway on a .64+ address and still answering 404 from the workstation over BGP.