Skip to content

Commit 5aafddc

Browse files
committed
OSDOCS-16222: Cluster API AWS capacityReservationPreference
1 parent 9e7e3d0 commit 5aafddc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

modules/machine-feature-agnostic-capacity-reservation.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,23 @@ spec:
4545
template:
4646
spec:
4747
capacityReservationId: <capacity_reservation> # <1>
48-
marketType: <market_type> # <2>
48+
capacityReservationPreference: <reservation_preference> # <2>
49+
marketType: <market_type> # <3>
4950
# ...
5051
----
5152
<1> Specify the ID of the
5253
ifdef::azure[Capacity Reservation group]
5354
ifdef::aws[Capacity Block for ML or On-Demand Capacity Reservation]
5455
that you want to deploy machines on.
5556
ifdef::aws[]
56-
<2> Specify the market type to use.
57+
<2> Specify your preferred capacity reservation behavior.
58+
The following values are valid:
59+
`CapacityReservationsOnly`:: Use this option to require a matching capacity reservation.
60+
If no matching capacity reservation is available, the instance fails to launch.
61+
`Open`:: Use this option to allow using an open capacity reservation that matches the availability zone and instance type.
62+
`None`:: Use this option to prohibit using a capacity reservation.
63+
You might use this option to help keep capacity reservations available for workloads that you want to use them.
64+
<3> Specify the market type to use.
5765
The following values are valid:
5866
`CapacityBlock`:: Use this market type with Capacity Blocks for ML.
5967
`OnDemand`:: Use this market type with On-Demand Capacity Reservations.

0 commit comments

Comments
 (0)