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 # Scrape the operator (:9963). Enabling the ServiceMonitor also renders the # `cilium-operator` Service that backs it. The `release` label is what the # kube-prometheus-stack Prometheus CR selects on (serviceMonitorSelector). prometheus: enabled: true serviceMonitor: enabled: true labels: release: kube-prometheus-stack # The ServiceMonitors below are rendered from this chart (hubble + operator). # The chart refuses to render them unless either the monitoring.coreos.com/v1 # CRDs are detected at install time or this flag is set; the CRDs come from the # `monitoring` Flux Kustomization, which is a separate release with its own # ordering, so assert them rather than depend on reconcile order. prometheus: serviceMonitor: trustCRDsExist: true hubble: # Ring depth, in flows. The chart default (4095) is only ~51 s of history on # siriussec at its ~80 flows/s, and `getFlowRate()` — called by every # `hubble status`, by the agent's own 5 s hubble health probe and by the UI — # walks the ring backwards over a full minute. When the ring is shorter than # that walk it reaches the read boundary, `Ring.read()` synthesises a # HUBBLE_RING_BUFFER lost event and bumps `hubble_lost_events_total` # (cilium#46584, fixed upstream only on forward reads). Result: a constant # 12 increments/min on siriussec with nothing actually dropped. # 16383 keeps >= 60 s at the 24 h peak on every node (linode 196 flows/s -> # 83 s, siriussec 101 flows/s -> 161 s, rpi 38 flows/s -> 431 s), so the walk # stops on the timestamp check before it can touch the boundary. Must be # 2^n-1 (Cilium's ring only accepts 4095/8191/16383/32767/65535). # Cost: see docs/hubble-event-loss.md — the ring retains *Event pointers, so # the delta is bounded and measured, not assumed. eventBufferCapacity: "16383" # Flow/Forensics UI is reachable over WireGuard only, by bare IP on the # dedicated `internal/hubble-ui` gateway: http://10.10.0.2:8084/ (port 8084, # its own Gateway because Cilium merges hostname-less routes that share one). # See docs/internal-wireguard-services.md. # Neither relay nor UI gets a public hostname or a tunnel ingress entry. relay: enabled: true replicas: 1 nodeSelector: kubernetes.io/hostname: siriussec resources: requests: cpu: 25m memory: 64Mi limits: cpu: 200m memory: 256Mi prometheus: enabled: true serviceMonitor: enabled: true labels: release: kube-prometheus-stack ui: enabled: true replicas: 1 nodeSelector: kubernetes.io/hostname: siriussec backend: resources: requests: cpu: 10m memory: 32Mi limits: cpu: 100m memory: 128Mi frontend: resources: requests: cpu: 10m memory: 32Mi limits: cpu: 100m memory: 128Mi metrics: # Agent-side hubble_* counters on :9965. `enabled` is a LIST in the 1.20 # chart schema (not a boolean): the metric names to enable. flow/drop carry # the policy-verdict labels because hubble-network-policy-correlation is on. # hostPort on every node — metrics only, no UI. enabled: - flow - drop - tcp - port-distribution - icmp - httpV2 - dns serviceMonitor: enabled: true labels: release: kube-prometheus-stack dashboards: # Chart's own "Hubble Metrics and Monitoring" dashboard (38 panels: # flows, drops, policy verdicts, TCP, DNS). Loaded by the Grafana # dashboard sidecar (NAMESPACE=ALL, label grafana_dashboard). enabled: true label: grafana_dashboard labelValue: "1" ipam: mode: cluster-pool operator: clusterPoolIPv4PodCIDRList: - 10.244.0.0/16 routingMode: native autoDirectNodeRoutes: true ipv4NativeRoutingCIDR: 10.244.0.0/16 enableIPv4Masquerade: true