на любое состояние pod-a не = runnig ?
- alert: KubernetesPodNotHealthy expr: sum by (cluster, job, namespace, pod) (kube_pod_status_phase{phase=~"Pending|Unknown|Failed"}) > 0 for: 5m labels: severity: warning annotations: summary: "Kubernetes Pod not healthy (cluster: {{ $labels.cluster }})" description: "Pod {{ $labels.namespace }}/{{ $labels.pod }} has been in a non-ready state for longer than an 5 min and more"
не, тож самое, отдает вот это: {job="kube-state-metrics",namespace="monitoring",pod="kube-state-metrics-59d6ffcf7-dp4q4"}
Обсуждают сегодня