client-go icon indicating copy to clipboard operation
client-go copied to clipboard

[QUESTION] How to use new LeaseLock with service endpoints?

Open CRASH-Tech opened this issue 1 year ago • 2 comments

Hello, I'm trying to use new leader election type "LeaseLock".

How I can say to kubernetes, to do not route traffic to non leader pod, there is no examples, how I can set leader label to pod.

CRASH-Tech avatar Oct 04 '23 10:10 CRASH-Tech