Commit graph homek8s/infrastructure/networking/cilium
Author SHA1 Message Date
Lance Walters
bd5057cdfa cilium: widen operator leader-election window for NVMe fsync stalls
Single-node etcd on the T480's PM991 NVMe shows WAL fsync spikes >8s under
dind build I/O. apiserver stalls then blow the operator's 5s lease-renewal
HTTP timeout and it fatals with 'Leader election lost, shutting down'
(204 restarts in 41d). Lease 60s / renew 45s / lock timeout 20s rides out
a stall instead of restarting the operator.
2026-10-26 14:48:58 -04:00
Hermes Agent
6c55f5f9d6
feat(cilium): enable bpf-lb-external-clusterip for WG spokes
Clients outside the cluster (WireGuard spokes: phone, SG VPS, laptop) could
reach node IPs, the API server and pod IPs but not ClusterIPs: Cilium
swallowed the service packets on the hub before any route applied, because
bpf-lb-external-clusterip defaulted to false.

Set bpf.lbExternalClusterIP: true so the HelmRelease renders
bpf-lb-external-clusterip=true.
2026-09-18 20:37:18 -04:00
Sirius DevOps
f84009c234
fix: align Gateway hostNetwork node selector with Envoy nodeSelector
gatewayAPI.hostNetwork.nodes.matchLabels was 'gateway: "true"' (matches
siriussec only), while envoy.nodeSelector is
'node-role.kubernetes.io/gateway: "true"' (matches linode only). The
Gateway listener was scheduled for host-network on a node where Envoy
does not run, so no 8080 listener was ever programmed and the public
Gateway had no dataplane on linode.

Align the hostNetwork selector to the Envoy's actual node label so the
listener binds on linode.
2026-09-15 01:13:18 -04:00
Sirius DevOps
6fd2767ca3
fix: bump Cilium to 1.20.1 — 1.19.7 still crashes on TLSRoute v1alpha2
Cilium 1.19.x operator unconditionally registers a field indexer for
TLSRoute/v1alpha2 and treats the error as fatal. The cluster's TLSRoute
CRD (standard channel from Gateway API v1.5.x) marks v1alpha2 as not
served. Cilium 1.20+ (PR #45251) fixed the indexer to not require
v1alpha2 served. Chart bump: 1.19.7 -> 1.20.1.
2026-09-15 00:29:44 -04:00
Sirius DevOps
e2f1a260c9
fix: use HelmRelease v2 API (cluster only serves v2, not v2beta2) 2026-09-15 00:26:20 -04:00
Sirius DevOps
9209ea54a7
fix: upgrade Cilium to 1.19.7 to resolve operator CrashLoopBackOff
Cilium operator 1.18.13 crashes on startup with:
  no matches for kind TLSRoute in version gateway.networking.k8s.io/v1alpha2

The TLSRoute CRD on the cluster only has v1 (no v1alpha2). Cilium 1.19+
fixes the gateway API field indexer to work with the v1/v1alpha3 TLSRoute
layout. Fixes the 3-day operator outage.
2026-09-15 00:08:05 -04:00
Sirius DevOps
c03c23bc4c
cillium gateway config switch to linode node as gateway 2026-09-14 23:47:48 -04:00
Sirius DevOps
20f967ffa3
Switch Cilium to native routing over WireGuard.
Pod CIDRs ride the existing hub-and-spoke mesh (no VXLAN).
Envoy cross-node handshake is still identity-8; Gateway stays on siriussec.
2026-09-11 21:54:13 -04:00
Sirius DevOps
cbe0575453
Pin Cilium Gateway hostNetwork to siriussec.
Cilium Envoy cannot reach overlay backends on another node
(503 cx_connect_fail). Same-node listener next to workloads works;
cloudflared origins point at the T480 LAN:8080.
2026-09-11 00:37:41 -04:00
Sirius DevOps
f9189482e7
Initial HomeK8s tree matching lab GitOps layout.
Storage and Gateway apply with kubectl -k until Forgejo+Flux.
2026-09-10 23:38:04 -04:00