-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
What is the URL of the document?
https://sdk.operatorframework.io/docs/building-operators/golang/advanced-topics/#leader-election
Which section(s) is the issue in?
Leader election
What needs fixing?
It would be nice to have more details about how Leader-with-lease implementation is working.
In the code I can see, that the manager has an Elected() method to return a channel, which being closed means that this specific manager is a leader.
I wonder, if the manager loses leadership, what happens to him? Channel cannot be reopened, I can't find where a new one could be created. Is this manager going to be removed from the cluster and replaced with a new one?
Additional context
Metadata
Metadata
Assignees
Labels
kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.