Replace monolithic dashboards-configmap.yaml with 10 dedicated files, one per Grafana folder: Ingress, Observability, Infrastructure, Storage, Identity, DevTools, Search, Media, La Suite, Communications. New dashboards for Longhorn, PostgreSQL/CNPG, Cert-Manager, SeaweedFS, Hydra, Kratos, Gitea, OpenSearch, LiveKit, La Suite golden signals (Linkerd metrics), Matrix, and Email Pipeline.
60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: monitoring
|
|
|
|
resources:
|
|
- namespace.yaml
|
|
- vault-secrets.yaml
|
|
- grafana-oauth2client.yaml
|
|
# Dashboards (one ConfigMap per Grafana folder)
|
|
- dashboards-ingress.yaml
|
|
- dashboards-observability.yaml
|
|
- dashboards-infrastructure.yaml
|
|
- dashboards-storage.yaml
|
|
- dashboards-identity.yaml
|
|
- dashboards-devtools.yaml
|
|
- dashboards-search.yaml
|
|
- dashboards-media.yaml
|
|
- dashboards-lasuite.yaml
|
|
- dashboards-comms.yaml
|
|
# AlertManager → Matrix bridge
|
|
- matrix-alertmanager-receiver-deployment.yaml
|
|
- matrix-bot-secret.yaml
|
|
# Alert rules
|
|
- alertrules-infrastructure.yaml
|
|
|
|
helmCharts:
|
|
# helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
|
|
- name: kube-prometheus-stack
|
|
repo: https://prometheus-community.github.io/helm-charts
|
|
version: "82.9.0"
|
|
releaseName: kube-prometheus-stack
|
|
namespace: monitoring
|
|
valuesFile: prometheus-values.yaml
|
|
includeCRDs: true
|
|
|
|
# helm repo add grafana https://grafana.github.io/helm-charts
|
|
- name: loki
|
|
repo: https://grafana.github.io/helm-charts
|
|
version: "6.53.0"
|
|
releaseName: loki
|
|
namespace: monitoring
|
|
valuesFile: loki-values.yaml
|
|
|
|
- name: tempo
|
|
repo: https://grafana.github.io/helm-charts
|
|
version: "1.24.4"
|
|
releaseName: tempo
|
|
namespace: monitoring
|
|
valuesFile: tempo-values.yaml
|
|
|
|
# Grafana Alloy — DaemonSet that ships container logs → Loki
|
|
# and provides an in-cluster OTLP receiver → Tempo.
|
|
- name: alloy
|
|
repo: https://grafana.github.io/helm-charts
|
|
version: "0.12.0"
|
|
releaseName: alloy
|
|
namespace: monitoring
|
|
valuesFile: alloy-values.yaml
|