C2: Deploy infrastructure alerting pipeline #303
1 changed files with 2 additions and 0 deletions
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) <noreply@anthropic.com>
commit
02e07aeb41
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue