homek8s/monitoring/controllers/home
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 9e851f4dfe monitoring: custom Forgejo runner, CNPG and workload dashboards from git
Dashboards (uid forgejo-runners, cnpg-postgres, home-lab-workloads) live as
ConfigMaps generated from monitoring/controllers/home/dashboards/build.py and are
loaded by the kube-prometheus-stack grafana sidecar.

Postgres was not scraped at all before this: add a hand-written PodMonitor per
CNPG cluster (release=kube-prometheus-stack, which is what this Prometheus's
podMonitorSelectorNilUsesHelmValues default requires) plus
spec.monitoring.customQueriesConfigMap on both Clusters. enablePodMonitor stays
false — deprecated in CNPG 1.27 and it gives no control over labels.

pg-actions-queries.yaml adds the Forgejo Actions queue/outcome/last_online
metrics that only the forgejo database can answer.

prometheus-node-exporter is no longer pinned to siriussec: the arm64 runner's
jobs are host containers on rpi, so the Pi's root filesystem is the disk that
matters there and kubelet cannot see it.

docs/monitoring-dashboards.md documents the PromQL, the exporter GRANT and the
known unknowns (arm64 per-job breakdown, hostPath PVs have no kubelet volume
stats, single-instance replication, no backups).
2026-10-27 01:32:20 -04:00
..
dashboards monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04: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
httproute.yaml grafana: serve it on the bare WireGuard IP (drop HTTPRoute hostnames) 2026-10-27 00:35:53 -04:00
kustomization.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
kustomizeconfig.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04:00
namespace.yaml monitoring: kube-prometheus-stack + WireGuard-only Grafana via the internal gateway 2026-10-27 00:12:38 -04: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
values.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00