coreos-cincinnati: add ServiceMonitor definition

This commit is contained in:
Luca BRUNO 2022-05-18 07:27:57 +00:00
parent fef2700ba4
commit 420bbb58ef
No known key found for this signature in database
GPG key ID: A9834A2252078E4E
2 changed files with 18 additions and 0 deletions

View file

@ -56,6 +56,11 @@
file: service.yml
objectname: service.yml
- role: openshift/object
app: coreos-cincinnati
file: servicemonitor.yml
objectname: servicemonitor.yml
- role: openshift/route
app: coreos-cincinnati
routename: coreos-updates

View file

@ -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