fedora-infra / koschei

Continuous integration for Fedora packages
GNU General Public License v2.0
37 stars 15 forks source link

Watchdog based on file timestamp #280

Closed mizdebsk closed 5 years ago

mizdebsk commented 5 years ago

Implement a new kind of watchdog that will work just like existing watchdog, but it would touch a file instead of using sd_notify. This file could then be checked by OpenShift/Kubernetes liveness probe to determine whether backend service is still alive.

mizdebsk commented 5 years ago

Before starting to work on this issue I would like to know whether existing systemd watchdog should be kept or replaced by the new one. It should be fairly easy to make the choice of watchdog configurable, but on the other hand it would be good to simplify the code if systemd watchdog is not going to be used any longer. @msimacek Do you want to keep existing systemd watchdog?