Untitled

mail@pastecode.io avatar
unknown
yaml
a month ago
680 B
2
Indexable
Never
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
Leave a Comment