Files
Kubernetes/Monitoring/kube-prometheus-stack.values.yaml
gitea_admin 36fbaf171a Add firewall and home LAN access docs, ComfyUI image generation, and backup plan
Document the Hetzner Cloud Firewall posture (inbound from private/home only, outbound allow-all, egress-only IPv6, public IPs on workers) in a new `Cluster_admin/firewall.md` and reference it from `AGENTS.md`, `Environment.md`, and `README.md`. Update the Mailu README to note that SMTP/IMAP ports are not currently exposed.

Add `HomeAccess/` with a privileged DaemonSet and README that give cluster nodes a route to `192.168.8.0/24` via point-to-point GRE tunnels to the master and its WireGuard tunnel.

Wire Open WebUI to ComfyUI on pop-os through a new `openwebui-imagegen` ConfigMap consumed via `envFrom`, with migration notes covering the PersistentConfig DB override.

Bump kube-prometheus-stack to 88.6.1 with an 8GB `retentionSize` cap, grow the postgres PVC to 50Gi, and add a PostgreSQL backup plan for pg_dumpall/rclone streaming to a Hetzner Storage Box.
2026-12-01 12:36:14 +02:00

81 lines
3.2 KiB
YAML

# kube-prometheus-stack Helm chart values
# Installed via:
# helm install kube-prometheus-stack prometheus-community/kube-prometheus-stack \
# --namespace monitoring --version 88.6.1 -f Monitoring/kube-prometheus-stack.values.yaml
#
# Notes:
# - Bundled Grafana is disabled; the hand-managed Grafana in Monitoring/Grafana/
# is kept and pointed at the operator-managed Prometheus service
# (prometheus-operated.monitoring.svc.cluster.local:9090).
# - Node Exporter is provided by the chart's subchart; the previous hand-rolled
# Monitoring/Prometheus/node_exporter_*.yaml manifests should be removed.
# - Prometheus data lives on hcloud-volumes (Hetzner CSI), matching the old PVC.
# - The operator picks up ServiceMonitors across all namespaces
# (serviceMonitorSelector: {} -> nil -> selects all).
# Keep CRDs on helm uninstall so a re-install doesn't lose Prometheus CRs.
crds:
enabled: true
# ---- Alertmanager ----------------------------------------------------------
alertmanager:
enabled: false # not used by the homelab yet; flip to true when needed.
# ---- Prometheus ------------------------------------------------------------
prometheus:
enabled: true
ingress:
enabled: false # use the existing Grafana ingress for UI; expose later if needed
prometheusSpec:
# Match the previous manual deployment's retention.
retention: 15d
# Hard size cap: keep total TSDB size at/below 8GiB (~80% of the 10Gi PVC).
# Prevents a metric-cardinality spike from filling the Hetzner volume.
retentionSize: "8GB"
# Hetzner CSI volume, same class as the old prometheus-data PVC.
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: hcloud-volumes
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 10Gi
# Select every ServiceMonitor in the cluster, regardless of labels.
# (serviceMonitorSelectorNilUsesHelmValues must be false for {} to mean "all".)
serviceMonitorSelectorNilUsesHelmValues: false
serviceMonitorSelector: {}
ruleSelectorNilUsesHelmValues: false
ruleSelector: {}
podMonitorSelectorNilUsesHelmValues: false
podMonitorSelector: {}
probeSelectorNilUsesHelmValues: false
probeSelector: {}
# ---- Grafana (bundled) -----------------------------------------------------
grafana:
enabled: false # use the hand-managed Grafana in Monitoring/Grafana/
# Still render the operator's datasource/dashboards ConfigMaps so the
# hand-managed Grafana can mount them if desired.
forceDeployDatasources: false
forceDeployDashboards: false
defaultDashboardsEnabled: false
# ---- Node Exporter ---------------------------------------------------------
# The chart ships prometheus-node-exporter as a subchart; a ServiceMonitor is
# created automatically, so the old kubernetes-node-exporters scrape job in
# prometheus_configmap.yaml becomes redundant once the operator is running.
prometheus-node-exporter:
enabled: true
prometheus:
monitor:
enabled: true
# ---- kube-state-metrics ---------------------------------------------------
# Enabled by default in the chart; provides cluster-state metrics
# (deployments, pods, nodes, etc.). No overrides needed.