Address comments
This commit is contained in:
17
manifests/prometheus-serviceMonitorPrometheus.yaml
Normal file
17
manifests/prometheus-serviceMonitorPrometheus.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: prometheus
|
||||
name: prometheus
|
||||
namespace: monitoring
|
||||
spec:
|
||||
endpoints:
|
||||
- interval: 30s
|
||||
port: web
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- monitoring
|
||||
selector:
|
||||
matchLabels:
|
||||
prometheus: k8s
|
Reference in New Issue
Block a user