mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-29 19:07:49 +01:00
15 lines
247 B
YAML
15 lines
247 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
k8s-app: prometheus
|
|
name: prometheus
|
|
namespace: monitoring
|
|
spec:
|
|
endpoints:
|
|
- interval: 30s
|
|
port: web
|
|
selector:
|
|
matchLabels:
|
|
prometheus: k8s
|