Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(route-monitor-operator): add console monitor [OSD-5499] #736

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions deploy/osd-route-monitor-operator/100-rmo.RouteMonitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: monitoring.openshift.io/v1alpha1
kind: RouteMonitor
metadata:
name: routemonitor-sample
georgettica marked this conversation as resolved.
Show resolved Hide resolved
spec:
route:
name: console
namespace: openshift-console
slo:
targetAvailabilityPercent: "99.5"
georgettica marked this conversation as resolved.
Show resolved Hide resolved
24 changes: 24 additions & 0 deletions hack/00-osd-managed-cluster-config-integration.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7298,6 +7298,30 @@ objects:
name: cluster
patch: '{"spec":{"defaultRoute":true,"nodeSelector":{"node-role.kubernetes.io/infra":""},"tolerations":[{"effect":"NoSchedule","key":"node-role.kubernetes.io/infra","operator":"Exists"}]}}'
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
labels:
managed.openshift.io/gitHash: ${IMAGE_TAG}
managed.openshift.io/gitRepoName: ${REPO_NAME}
managed.openshift.io/osd: 'true'
name: osd-route-monitor-operator
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
resourceApplyMode: Sync
resources:
- apiVersion: monitoring.openshift.io/v1alpha1
kind: RouteMonitor
metadata:
name: routemonitor-sample
spec:
route:
name: console
namespace: openshift-console
slo:
targetAvailabilityPercent: '99.5'
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down
24 changes: 24 additions & 0 deletions hack/00-osd-managed-cluster-config-production.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7298,6 +7298,30 @@ objects:
name: cluster
patch: '{"spec":{"defaultRoute":true,"nodeSelector":{"node-role.kubernetes.io/infra":""},"tolerations":[{"effect":"NoSchedule","key":"node-role.kubernetes.io/infra","operator":"Exists"}]}}'
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
labels:
managed.openshift.io/gitHash: ${IMAGE_TAG}
managed.openshift.io/gitRepoName: ${REPO_NAME}
managed.openshift.io/osd: 'true'
name: osd-route-monitor-operator
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
resourceApplyMode: Sync
resources:
- apiVersion: monitoring.openshift.io/v1alpha1
kind: RouteMonitor
metadata:
name: routemonitor-sample
spec:
route:
name: console
namespace: openshift-console
slo:
targetAvailabilityPercent: '99.5'
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down
24 changes: 24 additions & 0 deletions hack/00-osd-managed-cluster-config-stage.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7298,6 +7298,30 @@ objects:
name: cluster
patch: '{"spec":{"defaultRoute":true,"nodeSelector":{"node-role.kubernetes.io/infra":""},"tolerations":[{"effect":"NoSchedule","key":"node-role.kubernetes.io/infra","operator":"Exists"}]}}'
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
labels:
managed.openshift.io/gitHash: ${IMAGE_TAG}
managed.openshift.io/gitRepoName: ${REPO_NAME}
managed.openshift.io/osd: 'true'
name: osd-route-monitor-operator
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
resourceApplyMode: Sync
resources:
- apiVersion: monitoring.openshift.io/v1alpha1
kind: RouteMonitor
metadata:
name: routemonitor-sample
spec:
route:
name: console
namespace: openshift-console
slo:
targetAvailabilityPercent: '99.5'
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down