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:
parent
4ceaa354f6
commit
bd5057cdfa
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue