disable k8up servicemonitor
This commit is contained in:
parent
e6d1a24155
commit
85ad57d386
|
@ -176,22 +176,3 @@ spec:
|
||||||
cpu: 0.5
|
cpu: 0.5
|
||||||
memory: 0.5Gi
|
memory: 0.5Gi
|
||||||
serviceAccountName: k8up
|
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
|
|
||||||
|
|
19
k8up/service-monitor.yaml.dis
Normal file
19
k8up/service-monitor.yaml.dis
Normal 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
|
Reference in a new issue