Open FrostyX opened 1 year ago
Hi,
I came across the "Fedora Review Service" while looking at a package review request ticket. (Also it seems Fedora Communishift is no longer alive? as per https://fedoraproject.org/wiki/Infrastructure/Communishift)
Anyhow, although I do not know what you do inside the shell of the container to check if the service is still running, I was wondering if a combination of such probes described here: https://docs.openshift.com/container-platform/4.13/applications/application-health.html could work for your use case, perhaps? (Not a kubernetes/openshift expert, however, I have seen examples of health checks in pods/containers, and thought this could work as well.)
Hello @mavjs,
It is possible I confused the OpenShift instance. Anyway, it is this one:
I was wondering if a combination of such probes described here: https://docs.openshift.com/container-platform/4.13/applications/application-health.html could work for your use case, perhaps?
I hope so, this looks good. But we need to figure out what commands to run to verify if the service is healthy. I think maybe something to:
fedora-review-service.log
fileTo get a Nagios monitoring from Fedora Infra, we will need to migrate from CommuniShift to the Fedora production OpenShift instance.
We want to do that regarless, but the move isn't trivial. We will have to move our YAML files to the ansible repository, etc.
On an unrelated note, I at least configured Sentry monitoring, so that I get notified about new errors.
I periodically log into OpenShift, open a shell inside the fedora-review-service container, and check if the service is still running. This needs to be automatized somehow. Maybe nagios? What options do we have for Fedora Communishift?