Open denniske opened 5 years ago
I am considering kube-lock for ensuring that only one instance of my service runs on my kubernetes like described here: https://www.nicolaferraro.me/2017/10/17/creating-clustered-singleton-services-on-kubernetes/
kube-lock
Is kube-lock suited for such long time holding of locks?
What happens if my service aquires a lock in a pod and then this pod crashes and the service cannot release the lock before shutting down? Will the lock be forever blocked?
I have the same question @JulienBalestra
No commit in a year, is this was just some kind of PoC? or it can be used in prod?
I am considering
kube-lock
for ensuring that only one instance of my service runs on my kubernetes like described here: https://www.nicolaferraro.me/2017/10/17/creating-clustered-singleton-services-on-kubernetes/Is
kube-lock
suited for such long time holding of locks?What happens if my service aquires a lock in a pod and then this pod crashes and the service cannot release the lock before shutting down? Will the lock be forever blocked?