Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
bonddim-actions[bot] authored Dec 11, 2024
1 parent dff128a commit f4b586a
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 14 deletions.
5 changes: 3 additions & 2 deletions docs/azure/prometheusAlerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,12 +518,13 @@
},
{
"alert": "KubeAggregatedAPIErrors",
"expr": "sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total{job=\"kube-apiserver\"}[10m])) > 4",
"expr": "sum by(cluster, instance, name, reason)(increase(aggregator_unavailable_apiservice_total{job=\"kube-apiserver\"}[1m])) > 0",
"for": "10m",
"labels": {
"severity": "warning"
},
"annotations": {
"description": "Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. It has appeared unavailable {{ $value | humanize }} times averaged over the past 10m.",
"description": "Kubernetes aggregated API {{ $labels.instance }}/{{ $labels.name }} has reported {{ $labels.reason }} errors on cluster {{ $labels.cluster }}.",
"runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeaggregatedapierrors",
"summary": "Kubernetes aggregated API has reported errors."
}
Expand Down
5 changes: 3 additions & 2 deletions docs/azure/prometheusAlerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,12 @@ groups:
summary: Client certificate is about to expire.
- alert: "KubeAggregatedAPIErrors"
expr: |-
sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total{job="kube-apiserver"}[10m])) > 4
sum by(cluster, instance, name, reason)(increase(aggregator_unavailable_apiservice_total{job="kube-apiserver"}[1m])) > 0
for: 10m
labels:
severity: warning
annotations:
description: Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. It has appeared unavailable {{ $value | humanize }} times averaged over the past 10m.
description: Kubernetes aggregated API {{ $labels.instance }}/{{ $labels.name }} has reported {{ $labels.reason }} errors on cluster {{ $labels.cluster }}.
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeaggregatedapierrors
summary: Kubernetes aggregated API has reported errors.
- alert: "KubeAggregatedAPIDown"
Expand Down
5 changes: 3 additions & 2 deletions docs/default/prometheusAlerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,12 +518,13 @@
},
{
"alert": "KubeAggregatedAPIErrors",
"expr": "sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total{job=\"kube-apiserver\"}[10m])) > 4",
"expr": "sum by(cluster, instance, name, reason)(increase(aggregator_unavailable_apiservice_total{job=\"kube-apiserver\"}[1m])) > 0",
"for": "10m",
"labels": {
"severity": "warning"
},
"annotations": {
"description": "Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. It has appeared unavailable {{ $value | humanize }} times averaged over the past 10m.",
"description": "Kubernetes aggregated API {{ $labels.instance }}/{{ $labels.name }} has reported {{ $labels.reason }} errors.",
"runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeaggregatedapierrors",
"summary": "Kubernetes aggregated API has reported errors."
}
Expand Down
5 changes: 3 additions & 2 deletions docs/default/prometheusAlerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,12 @@ groups:
summary: Client certificate is about to expire.
- alert: "KubeAggregatedAPIErrors"
expr: |-
sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total{job="kube-apiserver"}[10m])) > 4
sum by(cluster, instance, name, reason)(increase(aggregator_unavailable_apiservice_total{job="kube-apiserver"}[1m])) > 0
for: 10m
labels:
severity: warning
annotations:
description: Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. It has appeared unavailable {{ $value | humanize }} times averaged over the past 10m.
description: Kubernetes aggregated API {{ $labels.instance }}/{{ $labels.name }} has reported {{ $labels.reason }} errors.
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeaggregatedapierrors
summary: Kubernetes aggregated API has reported errors.
- alert: "KubeAggregatedAPIDown"
Expand Down
5 changes: 3 additions & 2 deletions docs/multicluster/prometheusAlerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,12 +518,13 @@
},
{
"alert": "KubeAggregatedAPIErrors",
"expr": "sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total{job=\"kube-apiserver\"}[10m])) > 4",
"expr": "sum by(cluster, instance, name, reason)(increase(aggregator_unavailable_apiservice_total{job=\"kube-apiserver\"}[1m])) > 0",
"for": "10m",
"labels": {
"severity": "warning"
},
"annotations": {
"description": "Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. It has appeared unavailable {{ $value | humanize }} times averaged over the past 10m.",
"description": "Kubernetes aggregated API {{ $labels.instance }}/{{ $labels.name }} has reported {{ $labels.reason }} errors on cluster {{ $labels.cluster }}.",
"runbook_url": "https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeaggregatedapierrors",
"summary": "Kubernetes aggregated API has reported errors."
}
Expand Down
5 changes: 3 additions & 2 deletions docs/multicluster/prometheusAlerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,12 @@ groups:
summary: Client certificate is about to expire.
- alert: "KubeAggregatedAPIErrors"
expr: |-
sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total{job="kube-apiserver"}[10m])) > 4
sum by(cluster, instance, name, reason)(increase(aggregator_unavailable_apiservice_total{job="kube-apiserver"}[1m])) > 0
for: 10m
labels:
severity: warning
annotations:
description: Kubernetes aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. It has appeared unavailable {{ $value | humanize }} times averaged over the past 10m.
description: Kubernetes aggregated API {{ $labels.instance }}/{{ $labels.name }} has reported {{ $labels.reason }} errors on cluster {{ $labels.cluster }}.
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeaggregatedapierrors
summary: Kubernetes aggregated API has reported errors.
- alert: "KubeAggregatedAPIDown"
Expand Down
4 changes: 2 additions & 2 deletions jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"subdir": ""
}
},
"version": "a3fbf21977deb89b7d843eb8371170c011ea6835",
"sum": "57zW2IGJ9zbYd8BI0qe6JkoWTRSMNiBUWC6+YcnEsWo="
"version": "d6ab1a7cd86a7fe687284f81b385ad0a82cbc70e",
"sum": "6Wz4q0u0Sp8r4ywtJOIR8EWArLHJKzO64rjqeku7bY8="
}
],
"legacyImports": false
Expand Down

0 comments on commit f4b586a

Please sign in to comment.