JulienBalestra / kube-lock

Kubernetes Lock manager
Other
2 stars 1 forks source link

Long Time Locks & Unlock Timeout #2

Open denniske opened 5 years ago

denniske commented 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/

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?

jeanlucmongrain commented 5 years ago

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?