From 02e07aeb41c6ab427a9335dcb4f110371b10db8e Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sun, 22 Mar 2026 12:19:33 -0700 Subject: [PATCH] C2(deploy-infra-alerting): impl exclude Job-owned pods from PodNotReady CronJob pods (e.g., zim-watcher) are expected to complete and become not-ready. Exclude them with `unless on (namespace, pod) kube_pod_owner{owner_kind="Job"}`. Co-Authored-By: Claude Opus 4.6 (1M context) --- argocd/manifests/grafana/alerting.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/argocd/manifests/grafana/alerting.yaml b/argocd/manifests/grafana/alerting.yaml index 47f2ec6..26370a3 100644 --- a/argocd/manifests/grafana/alerting.yaml +++ b/argocd/manifests/grafana/alerting.yaml @@ -167,6 +167,8 @@ groups: model: expr: >- kube_pod_status_ready{condition="true"} == 0 + unless on (namespace, pod) + kube_pod_owner{owner_kind="Job"} interval: "" refId: A - refId: B