Untitled

 avatar
unknown
yaml
a year ago
680 B
8
Indexable
apiVersion: monitoring.coreos.com/v1alpha1
kind: AlertmanagerConfig
metadata:
  name: custom-config
  labels:
    alertmanager: config
spec:
  route:
    groupBy: ['job']
    groupWait: 30s
    groupInterval: 5m
    repeatInterval: 12h
    receiver: 'sendgrid-smtp'
    routes:
    - receiver: sendgrid-smtp
      group_by:
        - job
      matchers:
        - namespace="default2"
      continue: true
      group_wait: 30s
      group_interval: 5m
      repeat_interval: 12h
  receivers:
    - name: 'sendgrid-smtp'
      emailConfigs:
        - to: notify@example.com
          from: noreply@example.com
          smarthost: smtp.sendgrid.net:587
Editor is loading...
Leave a Comment