mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-22 19:09:30 +01:00
17 lines
277 B
YAML
17 lines
277 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: prometheus
|
|
labels:
|
|
k8s-app: prometheus
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
prometheus: k8s
|
|
namespaceSelector:
|
|
matchNames:
|
|
- monitoring
|
|
endpoints:
|
|
- port: web
|
|
interval: 30s
|