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`). # 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`). # 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 # **`siteMonitor`** runs **server-side** in the Homepage pod (see `gethomepage/homepage` `siteMonitor.js`).
# (cluster + node CPU/memory), Prometheus (scrape targets), search. **`enableRbac`** enables the # Public FQDNs like **`*.apps.noble.lab.pcenicni.dev`** often do **not** resolve inside the cluster
# Kubernetes integration (in-cluster ServiceAccount). # (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 # **Prometheus widget** also resolves from the pod — use the real **Service** name (Helm may truncate to
# (`kubectl -n monitoring get svc | grep prometheus`). # 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: image:
repository: ghcr.io/gethomepage/homepage repository: ghcr.io/gethomepage/homepage
@@ -45,41 +47,42 @@ config:
- Argo CD: - Argo CD:
icon: si-argocd icon: si-argocd
href: https://argo.apps.noble.lab.pcenicni.dev 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) description: GitOps UI (sync, apps, repos)
- Grafana: - Grafana:
icon: si-grafana icon: si-grafana
href: https://grafana.apps.noble.lab.pcenicni.dev 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) description: Dashboards, Loki explore (logs)
- Prometheus: - Prometheus:
icon: si-prometheus icon: si-prometheus
href: https://prometheus.apps.noble.lab.pcenicni.dev 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 description: Prometheus UI (queries, targets) — lab; protect in production
widget: widget:
type: prometheus 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"] fields: ["targets_up", "targets_down", "targets_total"]
- Alertmanager: - Alertmanager:
icon: alertmanager.png icon: alertmanager.png
href: https://alertmanager.apps.noble.lab.pcenicni.dev 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) description: Alertmanager UI (silences, status)
- Headlamp: - Headlamp:
icon: mdi-kubernetes icon: mdi-kubernetes
href: https://headlamp.apps.noble.lab.pcenicni.dev 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) description: Kubernetes UI (cluster resources)
- Longhorn: - Longhorn:
icon: longhorn.png icon: longhorn.png
href: https://longhorn.apps.noble.lab.pcenicni.dev 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 description: Storage volumes, nodes, backups
- Vault: - Vault:
icon: si-vault icon: si-vault
href: https://vault.apps.noble.lab.pcenicni.dev 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) description: Secrets engine UI (after init/unseal)
widgets: widgets:
- datetime: - datetime:
@@ -106,7 +109,7 @@ config:
mode: cluster mode: cluster
settingsString: | settingsString: |
title: Noble Lab 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 theme: dark
color: slate color: slate
headerStyle: boxedWidgets headerStyle: boxedWidgets