-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade logic no longer uses machine annotations Logic is now: - Check number of nodes in workload cluster - If node count <= replicas, create new upgrade machine - If node count > replicas, scale down Scale up logic ensures that we don't create additional machines if we reconcile while waiting for an upgrade machine to appear in the node list Scale up should only consider machines needing upgrade We never support upgrading a subset of the cluster, but this will ensure that we pick the FD that has the most machines needing upgrade, rather than just the FD with the most machines. Also add a comment to explain why scale up will not cause more than 1 machine to be created Scale down always scales down outdated machines first This removes the need to pass through outdated machines
- Loading branch information
Ben Moss
committed
Apr 15, 2020
1 parent
cb8f8e4
commit 8ff8401
Showing
9 changed files
with
210 additions
and
288 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
Oops, something went wrong.