23 Jul 2019 10:01 PM
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.
23 Jul 2019 10:16 PM
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).
Sebastian
24 Jul 2019 04:29 AM
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!
24 Jul 2019 07:35 AM
If you have log analytics license this will be great as well 🙂 Good luck!.
Sebastian
29 Jul 2019 11:42 AM
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....
14 Dec 2021 02:31 PM - edited 14 Dec 2021 02:32 PM
The pod unified analysis page is now available for Openshift (in Early Adopter release at the moment):