cilium: keep the v4 pod pool on dual-stack clusters (window fix) #42

Merged
ginjiruu merged 1 commit from c1-cilium-v4-pool into main 2026-11-18 01:18:28 +00:00
Owner

Found during the c1 VLAN-20 window (2026-11-17): Cilium allocated IPv4 pod CIDRs from 10.0.0.0/8, because a shallow // merge dropped ipam.operator.clusterPoolIPv4PodCIDRList when the dual-stack block was added.

  • Fix: recursiveUpdate at every layer of the values.
  • Guard: two assertions pin both Cilium pools to cluster.podCidr / podCidr6.
  • task gate green; test-01 and mini-01 toplevels identical to main (single-stack hosts unaffected).

Rollout: deploy, then one more k3s-reset --cluster of c1 (the cluster is empty), so every node gets a pool range from 10.30.128.0/18.

Found during the c1 VLAN-20 window (2026-11-17): Cilium allocated IPv4 pod CIDRs from 10.0.0.0/8, because a shallow `//` merge dropped `ipam.operator.clusterPoolIPv4PodCIDRList` when the dual-stack block was added. - Fix: `recursiveUpdate` at every layer of the values. - Guard: two assertions pin both Cilium pools to `cluster.podCidr` / `podCidr6`. - `task gate` green; test-01 and mini-01 toplevels identical to main (single-stack hosts unaffected). Rollout: deploy, then one more `k3s-reset --cluster` of c1 (the cluster is empty), so every node gets a pool range from 10.30.128.0/18.
cilium: recursive merge keeps the v4 pod pool on dual-stack clusters (mc#27)
Some checks failed
Validate Nix Flake / validate-nix (push) Has been cancelled
9d44f682be
The dual-stack block was merged with a shallow "//". Both sides set
ipam.operator, so the merge replaced the whole ipam attrset and dropped
clusterPoolIPv4PodCIDRList; c1 got v4 pod CIDRs from the Cilium default
10.0.0.0/8 (found in the 2026-11-17 window, cluster empty). Every layer is
now recursiveUpdate, and two assertions pin both pools to cluster.podCidr
and podCidr6. Single-stack hosts (test-01, mini-01) build byte-identically.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/machine-configs!42
No description provided.