@@ -236,6 +236,40 @@ spec:
236
236
x-kubernetes-validations :
237
237
- message : must have only one blockDeviceMappings with rootVolume
238
238
rule : self.filter(x, has(x.rootVolume)?x.rootVolume==true:false).size() <= 1
239
+ capacityReservationSelectorTerms :
240
+ description : CapacityReservationSelectorTerms is a list of or Capacity Reservation selector terms. The terms are ORed.
241
+ items :
242
+ description : |-
243
+ CapacityReservationSelectorTerms specify selectors which are ORed together to generate
244
+ a list of filters against the EC2 DescribeCapacityReservation API
245
+ ID cannot be specified with any other field within a single selector
246
+ All other fields are not mutually exclusive and can be combined
247
+ properties :
248
+ id :
249
+ description : |-
250
+ The id for the Capacity Reservation
251
+ Specifying '*' for this field selects all ids
252
+ type : string
253
+ ownerId :
254
+ description : |-
255
+ The id of the AWS account that owns the Capacity Reservation
256
+ If no ownerID is specified, only ODCRs owned by the current account will be used
257
+ Specifying '*' for this field selects all ownerIDs
258
+ type : string
259
+ tags :
260
+ additionalProperties :
261
+ type : string
262
+ description : |-
263
+ Tags is a map of key/value tags used to select capacity reservations
264
+ Specifying '*' for a value selects all values for a given tag key.
265
+ maxProperties : 20
266
+ type : object
267
+ x-kubernetes-validations :
268
+ - message : empty tag keys or values aren't supported
269
+ rule : self.all(k, k != '' && self[k] != '')
270
+ type : object
271
+ maxItems : 30
272
+ type : array
239
273
context :
240
274
description : |-
241
275
Context is a Reserved field in EC2 APIs
@@ -634,6 +668,65 @@ spec:
634
668
- requirements
635
669
type : object
636
670
type : array
671
+ capacityReservations :
672
+ description : |-
673
+ CapacityReservations contains the current Capacity Reservations values that are available to the
674
+ cluster under the CapacityReservations selectors.
675
+ items :
676
+ description : CapacityReservation contains resolved Capacity Reservation selector values utilized for node launch
677
+ properties :
678
+ availabilityZone :
679
+ description : AvailabilityZone of the Capacity Reservation
680
+ type : string
681
+ availableInstanceCount :
682
+ description : Available Instance Count of the Capacity Reservation
683
+ type : integer
684
+ endTime :
685
+ description : |-
686
+ The date and time at which the Capacity Reservation expires. When a Capacity
687
+ Reservation expires, the reserved capacity is released and you can no longer
688
+ launch instances into it. The Capacity Reservation's state changes to expired
689
+ when it reaches its end date and time.
690
+ format : date-time
691
+ type : string
692
+ id :
693
+ description : ID of the Capacity Reservation
694
+ type : string
695
+ instanceMatchCriteria :
696
+ description : |-
697
+ Indicates the type of instance launches that the Capacity Reservation accepts. The options include:
698
+ - open:
699
+ The Capacity Reservation accepts all instances that have
700
+ matching attributes (instance type, platform, and Availability
701
+ Zone). Instances that have matching attributes launch into the
702
+ Capacity Reservation automatically without specifying any
703
+ additional parameters.
704
+ - targeted:
705
+ The Capacity Reservation only accepts instances that
706
+ have matching attributes (instance type, platform, and
707
+ Availability Zone), and explicitly target the Capacity
708
+ Reservation. This ensures that only permitted instances can use
709
+ the reserved capacity.
710
+ type : string
711
+ instanceType :
712
+ description : Instance Type of the Capacity Reservation
713
+ type : string
714
+ ownerId :
715
+ description : The id of the AWS account that owns the Capacity Reservation
716
+ type : string
717
+ totalInstanceCount :
718
+ description : Total Instance Count of the Capacity Reservation
719
+ type : integer
720
+ required :
721
+ - availabilityZone
722
+ - availableInstanceCount
723
+ - id
724
+ - instanceMatchCriteria
725
+ - instanceType
726
+ - ownerId
727
+ - totalInstanceCount
728
+ type : object
729
+ type : array
637
730
conditions :
638
731
description : Conditions contains signals for health and readiness
639
732
items :
0 commit comments