homek8s/infrastructure/networking/cilium/values.yaml

52 lines
1.3 KiB
YAML
Raw Normal View History

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