-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
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.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Milestone
Description
The workflow of controller manager:
go startNonLeaderElectionRunnables
-> waitForCache
-> start nonLeaderElectionRunnables
[After leader election]go startLeaderElectionRunnables
-> waitForCache
-> start leaderElectionRunnables
I want to initialize something after cache ready and before starting runnables. So I need some check points:
go startNonLeaderElectionRunnables
-> // Check point 1
-> waitForCache
-> // Check point 2
-> start nonLeaderElectionRunnables
[After leader election]go startLeaderElectionRunnables
-> // Check point 3
-> waitForCache
-> // Check point 4
-> start leaderElectionRunnables
Then I can build global memory cache before starting controllers and webhooks. WDYT?
Metadata
Metadata
Assignees
Labels
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.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.Lowest priority. Possibly useful, but not yet enough support to actually get it done.