rpi.carlosedp.cluster-monit.../manifests-old/prometheus/prometheus-k8s-service-monitor-alertmanager.yaml

17 lines
284 B
YAML
Raw Normal View History

2018-03-02 01:03:53 +01:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: alertmanager
labels:
k8s-app: alertmanager
spec:
selector:
matchLabels:
alertmanager: main
namespaceSelector:
matchNames:
- monitoring
endpoints:
- port: web
interval: 30s