Reorganize the brownfield repository, remove retired and generated artifacts, harden ignore rules, and record the GitOps/IaC redesign.
31 lines
926 B
YAML
31 lines
926 B
YAML
# Alert router/notifier. Ported 1:1 from ../../../apps/victoriametrics/alertmanager.yaml,
|
|
# which currently blackholes everything. Wire real receivers here (email via the
|
|
# in-cluster smtp-relay, or a webhook) when you want notifications.
|
|
apiVersion: operator.victoriametrics.com/v1beta1
|
|
kind: VMAlertmanager
|
|
metadata:
|
|
name: main
|
|
namespace: monitoring
|
|
spec:
|
|
replicaCount: 1
|
|
configRawYaml: |
|
|
route:
|
|
receiver: blackhole
|
|
receivers:
|
|
- name: blackhole
|
|
# Example email receiver via the in-cluster Postfix relay (smtp-relay/):
|
|
# receivers:
|
|
# - name: email
|
|
# email_configs:
|
|
# - to: '[email protected]'
|
|
# from: 'Alertmanager <[email protected]>'
|
|
# smarthost: 'smtp-relay.smtp-relay.svc.cluster.local:25'
|
|
# require_tls: false
|
|
resources:
|
|
requests:
|
|
cpu: 25m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 256Mi
|