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.
This commit is contained in:
Lance Walters 2026-10-26 14:48:58 -04:00
commit bd5057cdfa

View file

@ -31,6 +31,14 @@ operator:
replicas: 1 replicas: 1
nodeSelector: nodeSelector:
kubernetes.io/hostname: siriussec 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: ipam:
mode: cluster-pool mode: cluster-pool