-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PCUI] Support On-Demand Capacity Reservations and Capacity Blocks fo…
…r PCUI (#347) * feat: Support ODCR(On-Demand Capacity Reservations) and CB(Capacity Blocks) for PCUI - Added `CapacityReservationTarget` select component at the compute resource level, allowing users to choose between `CapacityReservationId`, `CapacityReservationResourceGroupArn`, or none. - Implemented dynamic placeholders to guide users on the required inputs for `CapacityReservationId` and `CapacityReservationResourceGroupArn`. - Introduced `CAPACITY_BLOCK` as a new purchase type option in the UI. - Automatically hide the Allocation Strategy selection when `CAPACITY_BLOCK` is selected, following the expected behavior in ParallelCluster. - Implemented logic to automatically hide the instance type selection and exclude the `Instances` section in the YAML when `CapacityReservationId` is selected. - Made the `Instances` property of `MultiInstanceComputeResource` optional. - Updated the mechanism in `queues.mapper.ts` to resolve the conversion conflict. - Added `CapacityReservationTarget` in queue types. - Updated `validateComputeResources` to adapt to the new changes, allowing `Instances` to be empty if `CapacityReservationId` is selected. - Added info panel for Capacity Reservation and Capacity Block, included documentation links and note on instance type usage.
- Loading branch information
Showing
7 changed files
with
209 additions
and
39 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