-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add price-capacity-optimized AllocationStrategy (#6192)
* Add price-capacity-optimized AllocationStrategy * Add integration test for price-capacity-optimized AllocationStrategy * Update CHANGELOG.md and fix formating * Fix misplaced comma --------- Co-authored-by: Enrico Usai <[email protected]> Co-authored-by: Ryan Anderson <[email protected]>
- Loading branch information
1 parent
81f750f
commit 816f68d
Showing
7 changed files
with
67 additions
and
1 deletion.
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
24 changes: 24 additions & 0 deletions
24
...ration-tests/tests/spot/test_spot/test_spot_price_capacity_optimized/pcluster.config.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Image: | ||
Os: {{ os }} | ||
HeadNode: | ||
InstanceType: {{ instance }} | ||
Networking: | ||
SubnetId: {{ public_subnet_id }} | ||
Ssh: | ||
KeyName: {{ key_name }} | ||
Imds: | ||
Secured: {{ imds_secured }} | ||
Scheduling: | ||
Scheduler: {{ scheduler }} | ||
{% if scheduler == "awsbatch" %}AwsBatchQueues:{% else %}SlurmQueues:{% endif %} | ||
- Name: compute | ||
CapacityType: SPOT | ||
AllocationStrategy: price-capacity-optimized | ||
ComputeResources: | ||
- Name: compute-i1 | ||
Instances: | ||
- InstanceType: {{ instance }} | ||
MinCount: {{ min_count }} | ||
Networking: | ||
SubnetIds: | ||
- {{ private_subnet_id }} |