Skip to content

Commit 6a76ba9

Browse files
Merge pull request #1036 from petr-muller/ocpbugs-14246-runbooks-for-alerts
NO-JIRA: Runbook URLs for ClusterOperatorDown and ClusterOperatorDegraded
2 parents ca0eab2 + 1e1f59a commit 6a76ba9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install/0000_90_cluster-version-operator_02_servicemonitor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ spec:
9797
annotations:
9898
summary: Cluster operator has not been available for 10 minutes.
9999
description: The {{ "{{ $labels.name }}" }} operator may be down or disabled because {{ "{{ $labels.reason }}" }}, and the components it manages may be unavailable or degraded. Cluster upgrades may not complete. For more information refer to 'oc get -o yaml clusteroperator {{ "{{ $labels.name }}" }}'{{ "{{ with $console_url := \"console_url\" | query }}{{ if ne (len (label \"url\" (first $console_url ) ) ) 0}} or {{ label \"url\" (first $console_url ) }}/settings/cluster/{{ end }}{{ end }}" }}.
100+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/cluster-monitoring-operator/ClusterOperatorDown.md
100101
expr: |
101102
max by (namespace, name, reason) (cluster_operator_up{job="cluster-version-operator"} == 0)
102103
for: 10m
@@ -106,6 +107,7 @@ spec:
106107
annotations:
107108
summary: Cluster operator has been degraded for 30 minutes.
108109
description: The {{ "{{ $labels.name }}" }} operator is degraded because {{ "{{ $labels.reason }}" }}, and the components it manages may have reduced quality of service. Cluster upgrades may not complete. For more information refer to 'oc get -o yaml clusteroperator {{ "{{ $labels.name }}" }}'{{ "{{ with $console_url := \"console_url\" | query }}{{ if ne (len (label \"url\" (first $console_url ) ) ) 0}} or {{ label \"url\" (first $console_url ) }}/settings/cluster/{{ end }}{{ end }}" }}.
110+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/cluster-monitoring-operator/ClusterOperatorDegraded.md
109111
expr: |
110112
max by (namespace, name, reason)
111113
(

0 commit comments

Comments
 (0)