c1: route ClusterIPs to the LAN (BGP ClusterIP advertisement + lbExternalClusterIP) #1740

Closed
opened 2026-11-19 02:08:27 +00:00 by ginjiruu · 0 comments
Owner

Part of #1668.

Goal: LAN clients reach c1 ClusterIP Services directly. With #1673, <svc>.<ns>.svc.c1.caosh.int.animeteamspeak.moe resolves LAN-wide, but the addresses it returns don't route yet.

Today (checked 2026-11-18 on think-01): c1 advertises its PodCIDR /24s and LoadBalancer /32s, not ClusterIPs (service range 10.30.192.0/...).

Needed:

  • cilium/bgp/bgpadvertisement.yaml: add ClusterIP to the Service addresses.
  • cilium HelmRelease values: bpf.lbExternalClusterIP: true. Without it Cilium drops off-cluster traffic to ClusterIPs even with a route. This is a cilium-config change, so with operator.rollOutPods (#1737) agents and operator roll.
  • lab/iac: firewall policy for the service range. Once ClusterIPs route, every internal Service (databases, metrics, webhooks) is reachable unless the routers or CiliumNetworkPolicy say otherwise. Decide which client zones may reach it.

LoadBalancer Services keep their role: stable, pinnable, portable addresses (a ClusterIP changes when its Service is recreated and is tied to one cluster), an explicit "exposed" range for firewall policy, and externalTrafficPolicy semantics.

Part of #1668. Goal: LAN clients reach c1 ClusterIP Services directly. With #1673, `<svc>.<ns>.svc.c1.caosh.int.animeteamspeak.moe` resolves LAN-wide, but the addresses it returns don't route yet. Today (checked 2026-11-18 on think-01): c1 advertises its PodCIDR /24s and LoadBalancer /32s, not ClusterIPs (service range 10.30.192.0/...). Needed: - `cilium/bgp/bgpadvertisement.yaml`: add `ClusterIP` to the Service addresses. - cilium HelmRelease values: `bpf.lbExternalClusterIP: true`. Without it Cilium drops off-cluster traffic to ClusterIPs even with a route. This is a cilium-config change, so with `operator.rollOutPods` (#1737) agents and operator roll. - lab/iac: firewall policy for the service range. Once ClusterIPs route, every internal Service (databases, metrics, webhooks) is reachable unless the routers or CiliumNetworkPolicy say otherwise. Decide which client zones may reach it. LoadBalancer Services keep their role: stable, pinnable, portable addresses (a ClusterIP changes when its Service is recreated and is tied to one cluster), an explicit "exposed" range for firewall policy, and externalTrafficPolicy semantics.
Sign in to join this conversation.
No milestone
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/clusters#1740
No description provided.