Files
homelab-infra/platform/observability/metrics/vmalert.yaml
T
panxiao81 88a02ababa
lint / yaml (push) Has been cancelled
lint / ansible (push) Has been cancelled
lint / terraform (push) Has been cancelled
Establish clean homelab infrastructure baseline
Reorganize the brownfield repository, remove retired and generated artifacts, harden ignore rules, and record the GitOps/IaC redesign.
2026-09-09 16:47:20 +00:00

28 lines
750 B
YAML

# Rule evaluator. selectAllByDefault picks up every VMRule in all namespaces
# (see ./rules). Reads from and writes alert/recording state to VMSingle;
# sends firing alerts to VMAlertmanager.
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAlert
metadata:
name: main
namespace: monitoring
spec:
replicaCount: 1
selectAllByDefault: true
evaluationInterval: 30s
datasource:
url: http://vmsingle-main.monitoring.svc:8428
remoteWrite:
url: http://vmsingle-main.monitoring.svc:8428
remoteRead:
url: http://vmsingle-main.monitoring.svc:8428
notifier:
url: http://vmalertmanager-main.monitoring.svc:9093
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi