coreos-cincinnati: add ServiceMonitor definition
This commit is contained in:
parent
fef2700ba4
commit
420bbb58ef
2 changed files with 18 additions and 0 deletions
|
@ -56,6 +56,11 @@
|
||||||
file: service.yml
|
file: service.yml
|
||||||
objectname: service.yml
|
objectname: service.yml
|
||||||
|
|
||||||
|
- role: openshift/object
|
||||||
|
app: coreos-cincinnati
|
||||||
|
file: servicemonitor.yml
|
||||||
|
objectname: servicemonitor.yml
|
||||||
|
|
||||||
- role: openshift/route
|
- role: openshift/route
|
||||||
app: coreos-cincinnati
|
app: coreos-cincinnati
|
||||||
routename: coreos-updates
|
routename: coreos-updates
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: ServiceMonitor
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
monitoring-key: 'cpe'
|
||||||
|
name: coreos-cincinnati
|
||||||
|
spec:
|
||||||
|
endpoints:
|
||||||
|
- path: /metrics
|
||||||
|
port: coreos-cincinnati-raw-updates-status
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: coreos-cincinnati
|
Loading…
Add table
Add a link
Reference in a new issue