Hi! we where wondering if is possible to monitor (and how) the state of the pod as seen at the Openshift console in case that a pod is not ready.
Solved! Go to Solution.
Right now there is no such function out of the box. It may be possible by creating ActiveGate plugin that will fetch some extra metrics from OpenShift api (if they are available).
Thanks @sebastian k. After checking all the options, we found out that in the case of unhealthy state a log is created. So we setup a log detection to check that use case. Will check tomorrow and report back. Thanks!
If you have log analytics license this will be great as well 🙂 Good luck!.
Our workaround for a similar case (i.e. raising alerts when any warning events are detected for a given namespace) has been implementing of synthetic HTTP monitors that poll the Kubernetes Events API and check the response via regex. Maybe you could do something similar for your pod state. Although I agree it is additional manual work to set up but better than nothing....
The pod unified analysis page is now available for Openshift (in Early Adopter release at the moment):