-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
According to discussion Pause the machine config pool only when it neccessary Split the reconcile loop to phases Creation: - add finalizer - check if MCP exists, if no create it - pause MCP, and wait for some time specified under the code to give to machine-config controllers time to get the update - if needed updated MCP, and all other resources - after creation or update, wait again - unpause MCP Deletion: - check if MCP exists - if yes, pause the MCP and wait some time - delete all components - wait until all components will be deleted - remove finalizer All wait cycles implemenetd via requeue with `Result{Requeue: true, RequeueAfter: 10 * time.Second}` Signed-off-by: Artyom Lukianov <[email protected]>
- Loading branch information
Artyom Lukianov
committed
Jan 9, 2020
1 parent
306f0ba
commit 58e7782
Showing
11 changed files
with
526 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.