mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-22 19:09:30 +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
|