Skip to content

Commit b46e52a

Browse files
authored
Merge pull request prometheus-operator#1460 from prometheus-operator/automated-updates-release-0.9
[bot] [release-0.9] Automated version update
2 parents 864ca1e + eda2e81 commit b46e52a

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

jsonnetfile.lock.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"subdir": "grafana-builder"
3939
}
4040
},
41-
"version": "2ed138b205717af721af57b572bc7cd63bda62fd",
41+
"version": "17eca514f990530c411c2e9411af5213dd4bd224",
4242
"sum": "U34Nd1ViO2LZ3D8IzygPPRfUcy6zOgCnTMVHZ+9O/QE="
4343
},
4444
{
@@ -48,8 +48,8 @@
4848
"subdir": ""
4949
}
5050
},
51-
"version": "1163ea85e45e1f7edf6d4f83758d44c6fef1f2fa",
52-
"sum": "4H2pzHd6A47rQIZcQ3B0o+nFMeNgLE9dGYJv7ZP7m2s="
51+
"version": "10bb7c344cea4c9bf5dcf3d4d562aef55b77c49c",
52+
"sum": "IuBmSSNjmazPgFW7w1BJGv4YifK9pxUIzNPJ0TCkWK8="
5353
},
5454
{
5555
"source": {
@@ -58,7 +58,7 @@
5858
"subdir": "lib/promgrafonnet"
5959
}
6060
},
61-
"version": "06d00e40b43e4e618afbebe8e453b5650c659015",
61+
"version": "8dc2c0d69f762d943c5bfbdcc17645e346d610ca",
6262
"sum": "zv7hXGui6BfHzE9wPatHI/AGZa4A2WKo6pq7ZdqBsps="
6363
},
6464
{

manifests/kubernetes-prometheusRule.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ spec:
1414
rules:
1515
- alert: KubePodCrashLooping
1616
annotations:
17-
description: Pod {{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container }}) is restarting {{ printf "%.2f" $value }} times / 10 minutes.
17+
description: 'Pod {{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container }}) is in waiting state (reason: "CrashLoopBackOff").'
1818
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepodcrashlooping
1919
summary: Pod is crash looping.
2020
expr: |
21-
increase(kube_pod_container_status_restarts_total{job="kube-state-metrics"}[10m]) > 0
22-
and
23-
kube_pod_container_status_waiting{job="kube-state-metrics"} == 1
21+
max_over_time(kube_pod_container_status_waiting_reason{reason="CrashLoopBackOff", job="kube-state-metrics"}[5m]) >= 1
2422
for: 15m
2523
labels:
2624
severity: warning

0 commit comments

Comments
 (0)