Skip to content

Commit

Permalink
Merge pull request #2316 from slashpai/update-runbook
Browse files Browse the repository at this point in the history
OCPBUGS-31411: add runbook link for KubeAggregatedAPIErrors alert
  • Loading branch information
openshift-merge-bot[bot] committed Apr 11, 2024
2 parents ff60043 + c218667 commit a2bf364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/control-plane/prometheus-rule.yaml
Expand Up @@ -401,6 +401,7 @@ spec:
- alert: KubeAggregatedAPIErrors
annotations:
description: Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. It has appeared unavailable {{ $value | humanize }} times averaged over the past 10m.
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/cluster-monitoring-operator/KubeAggregatedAPIErrors.md
summary: Kubernetes aggregated API has reported errors.
expr: |
sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total{job="apiserver"}[10m])) > 4
Expand Down
1 change: 1 addition & 0 deletions jsonnet/utils/sanitize-rules.libsonnet
Expand Up @@ -474,6 +474,7 @@ local includeRunbooks = {
AlertmanagerClusterFailedToSendAlerts: openShiftRunbookCMO('AlertmanagerClusterFailedToSendAlerts.md'),
ClusterOperatorDegraded: openShiftRunbookCMO('ClusterOperatorDegraded.md'),
ClusterOperatorDown: openShiftRunbookCMO('ClusterOperatorDown.md'),
KubeAggregatedAPIErrors: openShiftRunbookCMO('KubeAggregatedAPIErrors.md'),
KubeAPIDown: openShiftRunbookCMO('KubeAPIDown.md'),
KubeDeploymentReplicasMismatch: openShiftRunbookCMO('KubeDeploymentReplicasMismatch.md'),
KubeJobFailed: openShiftRunbookCMO('KubeJobFailed.md'),
Expand Down

0 comments on commit a2bf364

Please sign in to comment.