Hi all,
I am trying to create an alert rule for pod unreachable condition. Below
expression I used but alert was triggering whenever new pod got created, we
want alert only when the previous state of a pod was in the ready state and
then went to unreachable/terminating/pending states.
kube_pod_status_ready{condition="true"} == 0
Please suggest if we have any suitable alert expression for the above
requirement.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/50c3d7aa-de14-4cca-bbd9-4e43439c1affn%40googlegroups.com.