Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PCUI] Support On-Demand Capacity Reservations and Capacity Blocks for PCUI #347

Merged
merged 5 commits into from
Aug 26, 2024

Commits on Aug 22, 2024

  1. feat: Support ODCR(On-Demand Capacity Reservations) and CB(Capacity B…

    …locks) for PCUI
    
    - Added CapacityReservationTarget select component allowing users to choose between CapacityReservationId, CapacityReservationResourceGroupArn, or none at both queue and compute resource levels.
    - 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 as the purchase type, adhering to the expected behavior in ParallelCluster.
    - Applied CapacityReservationTarget select component in queue and compute resource levels, maintaining consistency with ParallelCluster's behavior.
    hehe7318 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    5d92d68 View commit details
    Browse the repository at this point in the history
  2. feat: Support ODCR(On-Demand Capacity Reservations) and CB(Capacity B…

    …locks) for PCUI
    
    - Removed the usage of the odcrCbSelection component at the queue level due to conflicts in queues.mapper.ts when converting SingleInstanceComputeResource to MultiInstanceComputeResource.
    - 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.
    hehe7318 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    a5974c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Add CapacityReservationTarget in queues types. Fix validateComputeRes…

    …ources to adapt the new changes. Now if CapacityReservationId is selected, Instances can be empty.
    hehe7318 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    bbd6f1f View commit details
    Browse the repository at this point in the history
  2. Add info panel for Capacity Reservation and Capacity Block. Included …

    …documentation links and note on instance type usage. Move related string correctly under compute resources instead of advanced options. Tiny changes on format and comments.
    hehe7318 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    6654acc View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    2610554 View commit details
    Browse the repository at this point in the history