sync: Update 0.8 dependencies for kubernetes-mixin and generate

Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
This commit is contained in:
Arunprasad Rajkumar
2021-07-22 18:52:11 +05:30
parent e8b58191b5
commit 4dfa6f6bc8
2 changed files with 11 additions and 6 deletions

View File

@@ -59,8 +59,8 @@
"subdir": "" "subdir": ""
} }
}, },
"version": "e15ab56a4eea721d1e958888fd13c4b95af4d17d", "version": "d0d7d5324f4d5333ee47e1895e726fe44bcb7094",
"sum": "voj/Pfit89sI+xBCyFV8oEV4UgnsaJZ2VrOU7s9jZe8=" "sum": "wQw1hzPBgZPKcdoBBFmlnimOUrPSrfwejVpzyV47Hwg="
}, },
{ {
"source": { "source": {

View File

@@ -360,10 +360,13 @@ spec:
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepersistentvolumefillingup runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepersistentvolumefillingup
summary: PersistentVolume is filling up. summary: PersistentVolume is filling up.
expr: | expr: |
kubelet_volume_stats_available_bytes{job="kubelet", metrics_path="/metrics"} (
/ kubelet_volume_stats_available_bytes{job="kubelet", metrics_path="/metrics"}
kubelet_volume_stats_capacity_bytes{job="kubelet", metrics_path="/metrics"} /
< 0.03 kubelet_volume_stats_capacity_bytes{job="kubelet", metrics_path="/metrics"}
) < 0.03
and
kubelet_volume_stats_used_bytes{job="kubelet", metrics_path="/metrics"} > 0
for: 1m for: 1m
labels: labels:
severity: critical severity: critical
@@ -379,6 +382,8 @@ spec:
kubelet_volume_stats_capacity_bytes{job="kubelet", metrics_path="/metrics"} kubelet_volume_stats_capacity_bytes{job="kubelet", metrics_path="/metrics"}
) < 0.15 ) < 0.15
and and
kubelet_volume_stats_used_bytes{job="kubelet", metrics_path="/metrics"} > 0
and
predict_linear(kubelet_volume_stats_available_bytes{job="kubelet", metrics_path="/metrics"}[6h], 4 * 24 * 3600) < 0 predict_linear(kubelet_volume_stats_available_bytes{job="kubelet", metrics_path="/metrics"}[6h], 4 * 24 * 3600) < 0
for: 1h for: 1h
labels: labels: