resque-alive 0.1.0
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.
Gemfile:
=
instalar:
=
Versões:
- 0.1.0 September 14, 2020 (25,5 KB)
Runtime Dependencies (2):
resque
>= 0
resque-scheduler
>= 0
Development Dependencies (7):
bundler
>= 1.16
byebug
>= 0
mock_redis
>= 0
rack-test
>= 0
rake
~> 12.0
resque_spec
~> 0.18.1
rspec
~> 3.0