28 alert rules across 9 PrometheusRule files covering infrastructure (Longhorn, cert-manager), data (PostgreSQL, OpenBao, OpenSearch), storage (SeaweedFS), devtools (Gitea), identity (Hydra, Kratos), media (LiveKit), and mesh (Linkerd golden signals for all services). Severity routing: critical alerts fire to Matrix + email, warnings to Matrix only (AlertManager config updated in separate commit).
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: data
|
|
|
|
resources:
|
|
- namespace.yaml
|
|
- postgres-cluster.yaml
|
|
- valkey-deployment.yaml
|
|
- valkey-service.yaml
|
|
- opensearch-deployment.yaml
|
|
- opensearch-service.yaml
|
|
- opensearch-pvc.yaml
|
|
- barman-vault-secret.yaml
|
|
# opensearch-servicemonitor.yaml removed — OpenSearch 3.x has no prometheus-exporter plugin.
|
|
# TODO: add opensearch-exporter sidecar for Prometheus metrics.
|
|
- opensearch-alertrules.yaml
|
|
- postgres-alertrules.yaml
|
|
- openbao-alertrules.yaml
|
|
- searxng-deployment.yaml
|
|
|
|
helmCharts:
|
|
# helm repo add cnpg https://cloudnative-pg.github.io/charts
|
|
- name: cloudnative-pg
|
|
repo: https://cloudnative-pg.github.io/charts
|
|
version: "0.27.1"
|
|
releaseName: cloudnative-pg
|
|
namespace: data
|
|
|
|
# helm repo add openbao https://openbao.github.io/openbao-helm
|
|
- name: openbao
|
|
repo: https://openbao.github.io/openbao-helm
|
|
version: "0.25.6"
|
|
releaseName: openbao
|
|
namespace: data
|
|
valuesFile: openbao-values.yaml
|