homek8s/monitoring/controllers/home/kustomization.yaml
Lance Walters 8f98509c8f networking(hubble): deepen the event ring to 16383 flows and gate detection on loss (F10)
hubble_lost_events_total{source="hubble_ring_buffer"} was climbing at a
constant 12/min on siriussec (72,529 cumulative) and ~4/min on linode with
nothing dropped: Ring.read() synthesises a HUBBLE_RING_BUFFER lost event when
a backwards walk reaches the ring's read boundary, and getFlowRate() walks a
full minute on every hubble status / 5 s health probe / UI request. At
siriussec's ~80 flows/s the 4095-event default only holds ~51 s, so every
probe hit the boundary (cilium#46584).

16383 holds >= 60 s at the 24 h peak on every node (linode 196 flows/s ->
83 s, siriussec 101/s -> 161 s, rpi 38/s -> 431 s), so the walk exits on the
timestamp check instead. Ring accepts 2^n-1 only.

Also wire the sensor gate: recorders hubble:lost_events_increase_30m /
hubble:flows_processed_increase_30m, alert HubbleFlowWindowIncomplete when a
30 min window has any loss (a lossy window may not be reported as clean),
HubbleFlowLossMaterial above 0.1% of processed flows, and
HubbleFlowSensorMissing when the counters disappear entirely.
2026-11-27 00:16:47 -05:00

22 lines
595 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- namespace.yaml
- repository.yaml
- release.yaml
- httproute.yaml
- gateway-probe.yaml
- garage.yaml
- prune-alerts.yaml
# Flow-loss gate + material-loss alerts for the Hubble sensor (audit F10).
- hubble-loss-gate.yaml
# Nightly consistent sqlite snapshot of Grafana's dashboards/alerts/users.
- grafana-backup.yaml
- dashboards
configMapGenerator:
- name: kube-prometheus-stack-values
files:
- values.yaml=values.yaml
configurations:
- kustomizeconfig.yaml