forked from aws/aws-parallelcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change update policy for MinCount, MaxCount, Queue and ComputeResource
Change update policy for * MinCount and MaxCount, from COMPUTE_FLEET_STOP to RESIZE_UPDATE_STRATEGY_ON_REMOVE * Queue and ComputeResource, from COMPUTE_FLEET_STOP_ON_REMOVE to RESIZE_UPDATE_STRATEGY_ON_REMOVE. RESIZE_UPDATE_STRATEGY_ON_REMOVE is a new update policy that permits update in one of the following cases: * compute fleet is stopped * QueueUpdateStrategy is set to TERMINATE * a new Queue is added * a new ComputeResource is added * MaxCount is increased * MinCount is increased AND MaxCount is increased of at least the same amount When setting QueueUpdateStrategy = TERMINATE, only the nodes at the back of the node list will be terminated. Example: * cluster initial capacity is `MinCount = 5` and `MaxCount = 10`, the nodes are `st-[1-5]; dy-[1-5]` * when resizing the cluster to `MinCount = 3` and `MaxCount = 5`, the new cluster capacity will be composed by the nodes `st-[1-3]; dy-[1-2]`, which will not be touched during the update * the nodes `st-[4-5]; dy-[3-5]` are going to be terminated This is possible by the adoption of Slurm 23.11, ref https://slurm.schedmd.com/news.html Signed-off-by: Luca Carrogu <carrogu@amazon.com>
- Loading branch information
1 parent
70ebb8c
commit 694019e
Showing
9 changed files
with
695 additions
and
92 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
Oops, something went wrong.