homek8s/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 6b91152a79 monitoring(logs): a readable Loki — Logs dashboard + provisioning-reload runbook
The log store shipped in t_34ddaa83 but nothing could read it: the Loki datasource
ConfigMap was live and written into Grafana's provisioning volume, and Grafana still
listed only Prometheus + Alertmanager. Root cause was not the ConfigMap. The
datasource sidecar writes the file and then POSTs
/api/admin/provisioning/datasources/reload with monitoring/grafana-admin, which was
401-ing because Grafana's DB password had drifted from that Secret (the documented
"the Secret is only the seed" behaviour) — Grafana reads provisioning/datasources
only at startup, so the datasource never loaded.

- Reset the live admin password to the Secret's value (in-pod `grafana cli
  admin reset-admin-password`, value read from the Secret and never printed), so
  seed and DB match again and the sidecar's reload returns 200. Documented in
  docs/grafana-persistence.md, including the sidecar consequence of drift.
- New generated dashboard `logs` (uid: logs) with the two queries worth having:
  secret access over time by user from the apiserver audit stream, and pod errors
  by namespace, plus the runner namespaces and a note panel on field names.
- The audit stream's names are the Alloy allowlist's, not the audit event's:
  objectRef.resource arrives as the stream label `resource` and user.username as
  the field `user`. `| json | objectRef_resource="secrets"` returns 0 rows
  (measured); the panels use `resource="secrets"` in the selector + `| json` for
  the user dimension. No pipeline, retention or filter change.
- Runner panels discover their namespace via a `runner_ns` variable
  (.*(runner|forgejo).*) instead of pinning one name, so the t_2bbe34a8 move to
  ci-runners needs no edit here.
- validate_panels.py now dispatches on the target's datasource and queries Loki
  for `loki` panels (a logs panel must return rows, not just series).
2026-11-27 01:23:05 -05:00
..
arm64-runner-dind.md ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
cluster-overview.md ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
grafana-persistence.md monitoring(logs): a readable Loki — Logs dashboard + provisioning-reload runbook 2026-11-27 01:23:05 -05:00
hubble-event-loss.md docs(hubble): record the measured post-change numbers as-read (F10) 2026-11-27 00:54:14 -05:00
internal-wireguard-services.md fix(networking): make the public gateway :8080 WireGuard-only 2026-11-27 00:09:14 -05:00
kube-apiserver-audit-logging.md docs(audit): record the read/write split evidence and the pre-split purge 2026-11-27 00:58:12 -05:00
logging.md monitoring(logs): a readable Loki — Logs dashboard + provisioning-reload runbook 2026-11-27 01:23:05 -05:00
monitoring-dashboards.md monitoring(logs): a readable Loki — Logs dashboard + provisioning-reload runbook 2026-11-27 01:23:05 -05:00
pod-security.md ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
registry-pull-auth.md docs(registry): rotate/add-namespace via the SOPS files, not kubectl 2026-11-27 00:22:56 -05:00
secrets-sops.md sops: decrypt on every Flux Kustomization + static guard 2026-11-27 00:57:31 -05:00
site-image-pinning.md apps: re-pin the contact APIs to their new :sha tags 2026-11-02 18:09:48 -05:00