homek8s/apps/base/forgejo
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
..
cluster.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
deployment.yaml cillium gateway config switch to linode node as gateway 2026-09-14 23:47:48 -04:00
httproute.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
kustomization.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
namespace.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
pg-actions-queries.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
podmonitor.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
prune-cronjob.yaml forgejo: builder prune by --keep-storage, not --filter until 2026-10-23 00:28:40 -04:00
pvc.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
runner-amd64.yaml forgejo-runner-amd64: run the runner as root so a raced dind socket chmod cannot crashloop it 2026-10-26 17:38:04 -04:00
runner-arm64.yaml fix(forgejo): arm64 runner back to multi-arch forgejo/runner image 2026-09-18 23:50:30 -04:00
runner-configmap.yaml forgejo: let the deploy runner's init container write runner.ini; cap job memory; prune nightly 2026-10-22 23:55:21 -04:00
runner-deploy-arm64.yaml forgejo: let the deploy runner's init container write runner.ini; cap job memory; prune nightly 2026-10-22 23:55:21 -04:00
service.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00