Skip to content

Commit

Permalink
revert PR #1211: AggregatedAPIDown alert threshold set back to 85%
Browse files Browse the repository at this point in the history
  • Loading branch information
raptorsun committed Jun 22, 2021
1 parent 8ec92e1 commit 66086e9
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 @@ -398,7 +398,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 @@ -88,19 +88,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 66086e9

Please sign in to comment.