mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
17 lines
284 B
YAML
17 lines
284 B
YAML
|
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
|