class documentation

Undocumented

Constant __PB2_DESCRIPTOR__ Undocumented
Constant AUTO Will try to launch instance in any reservation_ids if provided.
Constant FORBID The instance is launched only using on-demand (PAYG) capacity. No attempt is made to find or use a Capacity Block. It's an error to provide reservation_ids with policy = FORBID
Constant STRICT Will try to launch the instance in Capacity Blocks from reservation_ids if provided.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.EnumDescriptor]('.nebius.mk8s.v1.Reservat
ionPolicy.Policy',
                                                       node_group_pb2.DESCRIPTOR
,
                                                       descriptor_1.EnumDescriptor
)

  1. Will try to launch instance in any reservation_ids if provided.
  2. Will try to launch instance in any of the available capacity block.
  3. Will try to launch instance in PAYG if 1 & 2 are not satisfied.

Value
0

The instance is launched only using on-demand (PAYG) capacity. No attempt is made to find or use a Capacity Block. It's an error to provide reservation_ids with policy = FORBID

Value
1

  1. Will try to launch the instance in Capacity Blocks from reservation_ids if provided.
  2. If reservation_ids are not provided will try to launch instance in suitable & available Capacity Block.
  3. Fail otherwise.

Value
2