Hello, I want to send alert when containers restart in k8s.How can write rule with promql?
a
Hello, I want to send alert when containers restart in k8s.How can write rule with promql?
a
Why do you need that? k8s can (and will) restart containers at will so that alert will very quickly spam you. Perhaps you're looking for alerts on things like
CrashLoopBackOff
instead?