Update homepage values.yaml to replace external siteMonitor URLs with in-cluster service URLs for improved reliability. Enhance comments for clarity on service monitoring and Prometheus widget configurations. Adjust description for better accuracy regarding uptime checks and resource monitoring.

This commit is contained in:
Nikholas Pcenicni
2026-03-28 17:13:57 -04:00
parent e4741ecd15
commit 90509bacc5

View File

@@ -2,12 +2,14 @@
# Ingress: Traefik + cert-manager (same pattern as `clusters/noble/bootstrap/headlamp/values.yaml`).
# Service links match **`ansible/roles/noble_landing_urls/defaults/main.yml`** (`noble_lab_ui_entries`).
#
# UI: **`siteMonitor`** on each link (HEAD/GET latency + status). **`widgets`**: datetime, Kubernetes
# (cluster + node CPU/memory), Prometheus (scrape targets), search. **`enableRbac`** enables the
# Kubernetes integration (in-cluster ServiceAccount).
# **`siteMonitor`** runs **server-side** in the Homepage pod (see `gethomepage/homepage` `siteMonitor.js`).
# Public FQDNs like **`*.apps.noble.lab.pcenicni.dev`** often do **not** resolve inside the cluster
# (split-horizon / LAN DNS only) → `ENOTFOUND` / HTTP **500** in the monitor. Use **in-cluster Service**
# URLs for **`siteMonitor`** only; **`href`** stays the human-facing ingress URL.
#
# Prometheus URL: in-cluster DNS for **kube-prometheus** release — adjust if your Service name differs
# (`kubectl -n monitoring get svc | grep prometheus`).
# **Prometheus widget** also resolves from the pod — use the real **Service** name (Helm may truncate to
# 63 chars — this repos generated UI list uses **`kube-prometheus-kube-prome-prometheus`**).
# Verify: `kubectl -n monitoring get svc | grep -E 'prometheus|alertmanager|grafana'`.
#
image:
repository: ghcr.io/gethomepage/homepage
@@ -45,41 +47,42 @@ config:
- Argo CD:
icon: si-argocd
href: https://argo.apps.noble.lab.pcenicni.dev
siteMonitor: https://argo.apps.noble.lab.pcenicni.dev
siteMonitor: http://argocd-server.argocd.svc.cluster.local:80
description: GitOps UI (sync, apps, repos)
- Grafana:
icon: si-grafana
href: https://grafana.apps.noble.lab.pcenicni.dev
siteMonitor: https://grafana.apps.noble.lab.pcenicni.dev
siteMonitor: http://kube-prometheus-grafana.monitoring.svc.cluster.local:80
description: Dashboards, Loki explore (logs)
- Prometheus:
icon: si-prometheus
href: https://prometheus.apps.noble.lab.pcenicni.dev
siteMonitor: https://prometheus.apps.noble.lab.pcenicni.dev
siteMonitor: http://kube-prometheus-kube-prome-prometheus.monitoring.svc.cluster.local:9090
description: Prometheus UI (queries, targets) — lab; protect in production
widget:
type: prometheus
url: http://kube-prometheus-kube-prometheus-prometheus.monitoring.svc:9090
url: http://kube-prometheus-kube-prome-prometheus.monitoring.svc.cluster.local:9090
fields: ["targets_up", "targets_down", "targets_total"]
- Alertmanager:
icon: alertmanager.png
href: https://alertmanager.apps.noble.lab.pcenicni.dev
siteMonitor: https://alertmanager.apps.noble.lab.pcenicni.dev
siteMonitor: http://kube-prometheus-kube-prome-alertmanager.monitoring.svc.cluster.local:9093
description: Alertmanager UI (silences, status)
- Headlamp:
icon: mdi-kubernetes
href: https://headlamp.apps.noble.lab.pcenicni.dev
siteMonitor: https://headlamp.apps.noble.lab.pcenicni.dev
siteMonitor: http://headlamp.headlamp.svc.cluster.local:80
description: Kubernetes UI (cluster resources)
- Longhorn:
icon: longhorn.png
href: https://longhorn.apps.noble.lab.pcenicni.dev
siteMonitor: https://longhorn.apps.noble.lab.pcenicni.dev
siteMonitor: http://longhorn-frontend.longhorn-system.svc.cluster.local:80
description: Storage volumes, nodes, backups
- Vault:
icon: si-vault
href: https://vault.apps.noble.lab.pcenicni.dev
siteMonitor: https://vault.apps.noble.lab.pcenicni.dev
# Unauthenticated health (HEAD/GET) — not the redirecting UI root
siteMonitor: http://vault.vault.svc.cluster.local:8200/v1/sys/health?standbyok=true&sealedcode=204&uninitcode=204
description: Secrets engine UI (after init/unseal)
widgets:
- datetime:
@@ -106,7 +109,7 @@ config:
mode: cluster
settingsString: |
title: Noble Lab
description: Homelab services — per-link uptime, cluster resources, and Prometheus targets on the Prometheus card
description: Homelab services — in-cluster uptime checks, cluster resources, Prometheus targets
theme: dark
color: slate
headerStyle: boxedWidgets