-
Notifications
You must be signed in to change notification settings - Fork 637
Description
/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):