mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 03:38:43 +00:00
kube-prometheus: fix alert rule K8SManyNodesNotReady (#1313)
* kube-prometheus: fix alert rule K8SManyNodesNotReady * fix alert "K8SManyNodesNotReady" in helm templates & make generate * Use sync_kube_prometheus.py to make rules in helm in sync
This commit is contained in:
parent
0bc2f76feb
commit
3a4da27c68
5 changed files with 5 additions and 5 deletions
contrib/kube-prometheus/assets/prometheus/rules
helm
|
@ -13,7 +13,7 @@ groups:
|
|||
- alert: K8SManyNodesNotReady
|
||||
expr: count(kube_node_status_condition{condition="Ready",status="true"} == 0)
|
||||
> 1 and (count(kube_node_status_condition{condition="Ready",status="true"} ==
|
||||
0) / count(kube_node_status_condition{condition="Ready",status="true"})) > 0.2
|
||||
0) / count(kube_node_status_condition{condition="Ready",status="true"})) * 100 > 20
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
description: A Helm chart for Kubernetes
|
||||
name: exporter-kubelets
|
||||
version: 0.2.9
|
||||
version: 0.2.10
|
||||
maintainers:
|
||||
- name: Michael Goodness
|
||||
email: mgoodness@gmail.com
|
||||
|
|
|
@ -14,7 +14,7 @@ groups:
|
|||
- alert: K8SManyNodesNotReady
|
||||
expr: count(kube_node_status_condition{condition="Ready",status="true"} == 0)
|
||||
> 1 and (count(kube_node_status_condition{condition="Ready",status="true"} ==
|
||||
0) / count(kube_node_status_condition{condition="Ready",status="true"})) > 0.2
|
||||
0) / count(kube_node_status_condition{condition="Ready",status="true"})) * 100 > 20
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
|
|
|
@ -7,4 +7,4 @@ maintainers:
|
|||
name: kube-prometheus
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
version: 0.0.65
|
||||
version: 0.0.66
|
|
@ -43,7 +43,7 @@ dependencies:
|
|||
repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
|
||||
|
||||
- name: exporter-kubelets
|
||||
version: 0.2.9
|
||||
version: 0.2.10
|
||||
#e2e-repository: file://../exporter-kubelets
|
||||
repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue