mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-28 00:07:44 +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
|