Replies: 1 comment
-
|
Since controller-runtime is based on client-go and the Java operator SDK is based on this library, we end up with different behavior between an Operator written in Go and an Operator written in Java. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have noticed that when the lease is no longer valid, it simply stops trying to renew it, which implicitly implies that we no longer have a leader.
If the lease is no longer valid, what do you think about allowing to renew the lease in case it is still the leader? Or at least, trigger a new leader election?
Indeed, it is more or less what is implemented in the client-go project of K8s as you can see in the code . If the lease is no longer valid, but it is still the leader, then the lease is renewed.
WDYT?
Beta Was this translation helpful? Give feedback.
All reactions