Skip to content

Capacity Reservation Preferences in AWS Instances to manage instance use of open Capacity Reservations #5606

@BraeTroutman

Description

@BraeTroutman

/kind feature

Describe the solution you'd like
With support for Capacity Reservations, CAPA consumers can deploy AWS instances targeted to a specific capacity reservation. They cannot currently, however, specify that a given instance should not run in any Open capacity reservations. This is useful to ensure that open capacity reservation blocks are not used up by undesired sets of instances.

Anything else you would like to add:
This feature should add a new field, CapacityReservationPreference, with an enum type that will specify how the given instance may make use of capacity reservations, if at all. See the AWS RunInstance docs for details on what those enum values, meanings, and validations look like: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CapacityReservationSpecification.html

Environment:

  • Cluster-api-provider-aws version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions