The Longhorn memory leak went undetected for 14 days because alerting was broken (email receiver, missing label selector, no node alerts). This overhaul brings alerting to production grade. Fixes: - Alloy Loki URL pointed to deleted loki-gateway, now loki:3100 - seaweedfs-bucket-init crash on unsupported `mc versioning` command - All PrometheusRules now have `release: kube-prometheus-stack` label - Removed broken email receiver, Matrix-only alerting New alert coverage: - Node: memory, CPU, swap, filesystem, inodes, network, clock skew, OOM - Kubernetes: deployment down, CronJob failed, pod crash-looping, PVC full - Backups: Postgres barman stale/failed, WAL archiving, SeaweedFS mirror - Observability: Prometheus WAL/storage/rules, Loki/Tempo/AlertManager down - Services: Stalwart, Bulwark, Tuwunel, Sol, Valkey, OpenSearch (smart) - SLOs: auth stack 99.9% burn rate, Matrix 99.5%, latency p95 < 2s - Recording rules for Linkerd RED metrics and node aggregates - Watchdog heartbeat → Matrix every 12h (dead pipeline detection) - Inhibition: critical suppresses warning for same alert+namespace - OpenSearchClusterYellow only fires with >1 data node (single-node aware)
39 lines
997 B
YAML
39 lines
997 B
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
|
|
- opensearch-alertrules.yaml
|
|
- cnpg-podmonitor.yaml
|
|
- openbao-servicemonitor.yaml
|
|
- postgres-alertrules.yaml
|
|
- openbao-alertrules.yaml
|
|
- valkey-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
|