From bd5057cdfad8c7281b05c05de42e569e66e302d4 Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Mon, 26 Oct 2026 14:48:58 -0400 Subject: [PATCH] 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. --- infrastructure/networking/cilium/values.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/infrastructure/networking/cilium/values.yaml b/infrastructure/networking/cilium/values.yaml index 0fcb1b3..083e9a0 100644 --- a/infrastructure/networking/cilium/values.yaml +++ b/infrastructure/networking/cilium/values.yaml @@ -31,6 +31,14 @@ operator: replicas: 1 nodeSelector: kubernetes.io/hostname: siriussec + # Single-node etcd on the T480's PM991 NVMe sees multi-second WAL fsync stalls + # during heavy dind builds (158 samples >8s / 41d). The default 10s renew + # deadline makes the operator fatal ("Leader election lost") on every stall. + # Ride out up to ~45s of apiserver unavailability instead of restarting. + extraArgs: + - --leader-election-lease-duration=60s + - --leader-election-renew-deadline=45s + - --leader-election-resource-lock-timeout=20s ipam: mode: cluster-pool