Skip to content

Commit

Permalink
chore(route-monitor-operator): add console monitor [OSD-5499] (#736)
Browse files Browse the repository at this point in the history
* chore(route-monitor-operator): add console monitor

* on push: make

* Delete OWNERS

* Update deploy/osd-route-monitor-operator/100-rmo.RouteMonitor.yaml

Co-authored-by: Rick Rackow <[email protected]>

* on push: make

* docs: add discalimer on names

* fix(rmo): add namespace

- change file format
- add file schema in README.md

* on push: make

* Update 100-openshift-console.console.RouteMonitor.yaml

* on push: make

* rename file

* Update 100-openshift-route-monitor-operator.console.RouteMonitor.yaml

* on push: make

* Update 100-openshift-route-monitor-operator.console.RouteMonitor.yaml

* on push: make

* Create config.yaml

* on push: make

* Create OWNERS

Co-authored-by: Rick Rackow <[email protected]>
Co-authored-by: Manuel Dewald <[email protected]>
  • Loading branch information
3 people authored Apr 7, 2021
1 parent 1bcc515 commit 51c5b63
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: monitoring.openshift.io/v1alpha1
kind: RouteMonitor
metadata:
name: console
namespace: openshift-route-monitor-operator
spec:
route:
name: console
namespace: openshift-console
slo:
targetAvailabilityPercent: "99.5"
3 changes: 3 additions & 0 deletions deploy/osd-route-monitor-operator/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
reviewers:
- georgettica
- RiRa12621
22 changes: 22 additions & 0 deletions deploy/osd-route-monitor-operator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# File Convention

the convention is:
```
${NUMBER}-${NS}.${NAME}.${TYPE}.yaml
```

## Number
a way to order the resources (if need be),
should be a 3 digit number just in case.

## Ns
the namespace the resource is created in

## Name
the name of the resource

## Type
the type of the resource

# Caveat
the alert name will be comprised from the RouteMonitor/ClusterUrlMonitor name, so be careful when renaming || Adding
3 changes: 3 additions & 0 deletions deploy/osd-route-monitor-operator/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
deploymentMode: "Direct"
direct:
environments: ["integration", "stage"]
11 changes: 11 additions & 0 deletions hack/00-osd-managed-cluster-config-integration.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11183,3 +11183,14 @@ objects:
metadata:
name: hive-environment
namespace: openshift-config
- apiVersion: monitoring.openshift.io/v1alpha1
kind: RouteMonitor
metadata:
name: console
namespace: openshift-route-monitor-operator
spec:
route:
name: console
namespace: openshift-console
slo:
targetAvailabilityPercent: '99.5'
11 changes: 11 additions & 0 deletions hack/00-osd-managed-cluster-config-stage.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11183,3 +11183,14 @@ objects:
metadata:
name: hive-environment
namespace: openshift-config
- apiVersion: monitoring.openshift.io/v1alpha1
kind: RouteMonitor
metadata:
name: console
namespace: openshift-route-monitor-operator
spec:
route:
name: console
namespace: openshift-console
slo:
targetAvailabilityPercent: '99.5'

0 comments on commit 51c5b63

Please sign in to comment.