homek8s/infrastructure/networking/cilium/values.yaml
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

52 lines
1.3 KiB
YAML

kubeProxyReplacement: true
k8sServiceHost: "10.10.0.2"
k8sServicePort: "6443"
# Let clients outside the cluster (WireGuard spokes: phone, SG VPS, laptop) reach
# ClusterIPs. Renders the ConfigMap key bpf-lb-external-clusterip=true.
bpf:
lbExternalClusterIP: true
l7Proxy: true
socketLB:
enabled: true
hostNamespaceOnly: false
gatewayAPI:
enabled: true
hostNetwork:
enabled: true
nodes:
matchLabels:
node-role.kubernetes.io/gateway: "true"
envoy:
enabled: true
nodeSelector:
node-role.kubernetes.io/gateway: "true"
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
operator:
clusterPoolIPv4PodCIDRList:
- 10.244.0.0/16
routingMode: native
autoDirectNodeRoutes: true
ipv4NativeRoutingCIDR: 10.244.0.0/16
enableIPv4Masquerade: true