homek8s/monitoring/controllers/home
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sirius DevOps e4b1ac59a9 feat(osint): alert when the analyst stops writing briefs
The 2026-11-25..12-04 outage was invisible: deploy/osint-news-summarizer
stayed Running with restarts 0 and INFO batch lines while article_summaries
froze for nine days, and the scraper kept articles fresh (61.5k rows, newest
within minutes). The app has no /metrics endpoint, so add a small read-only
Postgres exporter and two Prometheus rules.

- osint-analyst-exporter (ns osint): stdlib HTTP server on :9187 serving
  osint_analyst_last_success_timestamp_seconds (max article_summaries.
  batch_timestamp), osint_ingest_last_article_timestamp_seconds (max
  articles.timestamp) and osint_analyst_exporter_up. Runs the pinned
  summarizer image (python3 + psycopg2), non-root, read-only rootfs,
  clusterIP Service + ServiceMonitor (release=kube-prometheus-stack).
- NetworkPolicy: one port-scoped ingress rule, monitoring -> :9187. Nothing
  else in monitoring can reach osint.
- monitoring/controllers/home/osint-analyst.yaml: OsintAnalystStale
  (>1h, 30m, warning, with an absent() arm so a dead exporter cannot read as
  healthy) and OsintIngestAliveButNoBrief (articles <2h old while summaries
  >2h old, 10m, warning). Both route through the default Telegram receiver.
2026-12-04 23:18:20 -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-networkpolicy.yaml feat(backup): run the three nightly backups from a pinned image with an egress allow list 2026-12-04 00:20:34 -05:00
grafana-backup.yaml feat(backup): run the three nightly backups from a pinned image with an egress allow list 2026-12-04 00:20:34 -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(osint): alert when the analyst stops writing briefs 2026-12-04 23:18:20 -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
osint-analyst.yaml feat(osint): alert when the analyst stops writing briefs 2026-12-04 23:18:20 -05: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(rosenpass): alert on a vanished Link B series and on the UPnP mapping 2026-12-03 02:52:58 -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-forgejo-pull.sops.yaml feat(backup): run the three nightly backups from a pinned image with an egress allow list 2026-12-04 00:20:34 -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