From 37b54452da1004f56478a7fd4bcee3ed7b5d8867 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 14 Sep 2022 04:51:28 +0000 Subject: [PATCH] assets,site/content: daily assets regeneration --- assets/kubernetes/alerts.yaml | 2 +- site/content/kubernetes/_index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/kubernetes/alerts.yaml b/assets/kubernetes/alerts.yaml index 613dfa4..c9c536d 100644 --- a/assets/kubernetes/alerts.yaml +++ b/assets/kubernetes/alerts.yaml @@ -21,7 +21,7 @@ groups: expr: | sum by (namespace, pod, cluster) ( max by(namespace, pod, cluster) ( - kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown"} + kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown|Failed"} ) * on(namespace, pod, cluster) group_left(owner_kind) topk by(namespace, pod, cluster) ( 1, max by(namespace, pod, owner_kind, cluster) (kube_pod_owner{owner_kind!="Job"}) ) diff --git a/site/content/kubernetes/_index.md b/site/content/kubernetes/_index.md index 7d1413c..916a940 100644 --- a/site/content/kubernetes/_index.md +++ b/site/content/kubernetes/_index.md @@ -48,7 +48,7 @@ annotations: expr: | sum by (namespace, pod, cluster) ( max by(namespace, pod, cluster) ( - kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown"} + kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown|Failed"} ) * on(namespace, pod, cluster) group_left(owner_kind) topk by(namespace, pod, cluster) ( 1, max by(namespace, pod, owner_kind, cluster) (kube_pod_owner{owner_kind!="Job"}) )