homek8s/monitoring/controllers/home
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 5177b13004 feat(monitoring): alert on Rosenpass unit state and stalled PSK rotation
Rosenpass rotates the Link A preshared key (rpi wg0 10.10.0.1 <->
siriussec wg0 10.10.0.2) about every two minutes, but WireGuard keeps
using the last key it received: a dead or wedged exchange leaves the
tunnel up and silently non-post-quantum, with no alerting signal.

node-exporter here is distroless without the textfile collector (and
without the dbus plumbing --collector.systemd needs), so observe the
host directly:

- infrastructure/networking/rosenpass/: POSIX sh script run by a 60 s
  systemd timer on rpi and siriussec that writes
  /var/lib/node-exporter/textfile/rosenpass.prom. It exports
  rosenpass_unit_active, rosenpass_psk_rotation_age_seconds and
  rosenpass_psk_rotation_last_change_timestamp_seconds; the PSK listing
  is only ever sha256'd, never logged or persisted.
- values.yaml: enable --collector.textfile.directory and mount the
  hostPath (DirectoryOrCreate, so linode's node-exporter still starts).
  extraArgs replaces the subchart defaults, so the two filesystem
  exclusions are repeated verbatim.
- rosenpass.yaml: RosenpassDown (5 m) and RosenpassPskRotationStalled
  (age > 900 s, 10 m), both warning, both with absent() arms so a
  missing series alerts instead of reading as healthy.

Host units are installed out of band (see the directory README); the
GitOps side needs a merge before Prometheus loads the rules.
2026-12-03 02:16:30 -05:00
..
dashboards refactor(monitoring): one CI_RUNNERS_NS constant for the forgejo-runners pod panels 2026-11-27 01:37:39 -05:00
garage.yaml infrastructure(garage): commit the config, prove WG-only, split keys, back it up, scrape it 2026-11-19 16:32:58 -05:00
gateway-probe.yaml internal gateway probe: alert when the gateway label is not on exactly one node 2026-10-27 01:08:53 -04:00
grafana-backup.yaml apps(backup): cover the remaining stateful gaps off-host 2026-11-19 17:14:36 -05:00
httproute.yaml grafana: serve it on the bare WireGuard IP (drop HTTPRoute hostnames) 2026-10-27 00:35:53 -04:00
hubble-loss-gate.yaml monitoring(hubble): split ring-buffer reads out of the flow-loss gate 2026-11-27 18:46:35 -05:00
kustomization.yaml feat(monitoring): alert on Rosenpass unit state and stalled PSK rotation 2026-12-03 02:16:30 -05:00
kustomizeconfig.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
namespace.yaml secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
prune-alerts.yaml ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
release.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
repository.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
rosenpass.yaml feat(monitoring): alert on Rosenpass unit state and stalled PSK rotation 2026-12-03 02:16:30 -05:00
secret-alertmanager-telegram.sops.yaml secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix) 2026-11-27 00:36:23 -05:00
secret-cluster-backup-ssh.sops.yaml secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix) 2026-11-27 00:36:23 -05:00
secret-grafana-admin.sops.yaml secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix) 2026-11-27 00:36:23 -05:00
secret-grafana-secret-key.sops.yaml secrets: add the four monitoring SOPS files their kustomization already lists (F12 part 2, fix) 2026-11-27 00:36:23 -05:00
values.yaml feat(monitoring): alert on Rosenpass unit state and stalled PSK rotation 2026-12-03 02:16:30 -05:00