disable k8up servicemonitor

This commit is contained in:
Tobias Brunner 2020-02-08 22:03:10 +01:00
parent e6d1a24155
commit 85ad57d386
2 changed files with 19 additions and 19 deletions

View File

@ -176,22 +176,3 @@ spec:
cpu: 0.5
memory: 0.5Gi
serviceAccountName: k8up
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: k8up
namespace: k8up
labels:
release: prometheus-operator
spec:
endpoints:
- interval: 30s
path: /metrics
port: http
namespaceSelector:
matchNames:
- k8up
selector:
matchLabels:
app: k8up

View File

@ -0,0 +1,19 @@
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: k8up
namespace: k8up
labels:
release: prometheus-operator
spec:
endpoints:
- interval: 30s
path: /metrics
port: http
namespaceSelector:
matchNames:
- k8up
selector:
matchLabels:
app: k8up