Skip to content

Commit

Permalink
Merge pull request #1237 from raptorsun/test/AggAPIDNAlert
Browse files Browse the repository at this point in the history
AggregatedAPIDown alert threshold set back to 85%
  • Loading branch information
openshift-merge-robot committed Jun 29, 2021
2 parents 625f934 + 66086e9 commit f4b1311
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion assets/control-plane/prometheus-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ spec:
has been only {{ $value | humanize }}% available over the last 10m.
summary: An aggregated API is down.
expr: |
(1 - max by(name, namespace)(avg_over_time(aggregator_unavailable_apiservice[10m]))) * 100 < 70
(1 - max by(name, namespace)(avg_over_time(aggregator_unavailable_apiservice[10m]))) * 100 < 85
for: 5m
labels:
severity: warning
Expand Down
13 changes: 0 additions & 13 deletions jsonnet/patch-rules.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,6 @@ local patchedRules = [
},
],
},
{
name: 'kubernetes-system-apiserver',
rules: [
{
// Lower treshold to be resilient to DNS rollouts and CA rotations.
// https://bugzilla.redhat.com/show_bug.cgi?id=1970624
alert: 'AggregatedAPIDown',
expr: |||
(1 - max by(name, namespace)(avg_over_time(aggregator_unavailable_apiservice[10m]))) * 100 < 70
|||,
},
],
},
{
name: 'prometheus',
rules: [
Expand Down

0 comments on commit f4b1311

Please sign in to comment.