How to check liveness probe for a worker deployed in Kubernetes

development

#1

I came across below discussion and article about liveness probe of sidekiq workers. Is there any other way of checking liveness probe for a worker.

https://github.com/mperham/sidekiq/issues/3648 2
https://github.com/arturictus/sidekiq_alive 1


#2

Just check for the existence of the pid file using a command based probe. See https://matthewdavis.io/kubernetes-health-checks-demystified/ for your options.