resque-alive adds a Kubernetes Liveness probe to a Resque instance. How? resque-alive provides a small rack application which exposes HTTP endpoint to return the "Aliveness" of the Resque instance. Aliveness is determined by the presence of an auto-expiring key. resque-alive schedules a "heartbeat" job to periodically refresh the expiring key - in the event the Resque instance can"t process the job, the key expires and the instance is marked as unhealthy.
Required Ruby Version
>= 2.3.0
Authors
Aaron Kuehler
Versions
- 0.1.0 September 14, 2020 (25.5 KB)