class documentation

Undocumented

Class __OneOfClass_size__ Undocumented
Class __OneOfClass_size_autoscaling__ Undocumented
Class __OneOfClass_size_fixed_node_count__ Undocumented
Method __dir__ Undocumented
Method __init__ Undocumented
Method autoscaling.setter Undocumented
Method fixed_node_count.setter Undocumented
Method strategy.setter Undocumented
Method template.setter Undocumented
Method version.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property autoscaling Enables [Kubernetes Cluster Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler) for that NodeGroup, and defines autoscaling parameters.
Property fixed_node_count Number of nodes in the group. Can be changed manually at any time.
Property size Undocumented
Property strategy Defines deployment - roll-out, or nodes re-creation during configuration change. Allows to setup compromise in roll-out speed, extra resources consumption and workloads disruption.
Property template Parameters for Kubernetes Node object and Nebius Compute Instance If not written opposite a NodeTemplate field update will cause NodeGroup roll-out according NodeGroupDeploymentStrategy.
Property version Version is desired Kubernetes version of the cluster. For now only acceptable format is `<major>.<minor>` like "1.30". Option for patch version update will be added later. By default the cluster control plane <major>...

Inherited from Message:

Class Method get_descriptor Undocumented
Class Method is_credentials Undocumented
Class Method is_sensitive Undocumented
Method __repr__ Undocumented
Method check_presence Undocumented
Method get_full_update_reset_mask Undocumented
Method get_mask Undocumented
Method is_default Undocumented
Method set_mask Undocumented
Method which_field_in_oneof Undocumented
Class Variable __PB2_CLASS__ Undocumented
Instance Variable __pb2_message__ Undocumented
Method _clear_field Undocumented
Method _get_field Undocumented
Method _set_field Undocumented
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Undocumented
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

def __init__(self, initial_message: message_1.Message | None = None, *, version: builtins.str | None | unset.UnsetType = unset.Unset, fixed_node_count: builtins.int | None | unset.UnsetType = unset.Unset, autoscaling: NodeGroupAutoscalingSpec | node_group_pb2.NodeGroupAutoscalingSpec | None | unset.UnsetType = unset.Unset, template: NodeTemplate | node_group_pb2.NodeTemplate | None | unset.UnsetType = unset.Unset, strategy: NodeGroupDeploymentStrategy | node_group_pb2.NodeGroupDeploymentStrategy | None | unset.UnsetType = unset.Unset): (source)
@autoscaling.setter
def autoscaling(self, value: NodeGroupAutoscalingSpec | node_group_pb2.NodeGroupAutoscalingSpec | None): (source)

Undocumented

@fixed_node_count.setter
def fixed_node_count(self, value: builtins.int | None): (source)

Undocumented

@strategy.setter
def strategy(self, value: NodeGroupDeploymentStrategy | node_group_pb2.NodeGroupDeploymentStrategy | None): (source)

Undocumented

@template.setter
def template(self, value: NodeTemplate | node_group_pb2.NodeTemplate | None): (source)

Undocumented

@version.setter
def version(self, value: builtins.str | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.mk8s.v1.NodeGroupSpe
c',
                                                   node_group_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'version': 'version',
 'fixed_node_count': 'fixed_node_count',
 'autoscaling': 'autoscaling',
 'template': 'template',
 'strategy': 'strategy',
 'size': 'size'}
@builtins.property
autoscaling: NodeGroupAutoscalingSpec | None = (source)

Enables [Kubernetes Cluster Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler) for that NodeGroup, and defines autoscaling parameters.

@builtins.property
fixed_node_count: builtins.int | None = (source)

Number of nodes in the group. Can be changed manually at any time.

@builtins.property
strategy: NodeGroupDeploymentStrategy = (source)

Defines deployment - roll-out, or nodes re-creation during configuration change. Allows to setup compromise in roll-out speed, extra resources consumption and workloads disruption.

@builtins.property
template: NodeTemplate = (source)

Parameters for Kubernetes Node object and Nebius Compute Instance If not written opposite a NodeTemplate field update will cause NodeGroup roll-out according NodeGroupDeploymentStrategy.

@builtins.property
version: builtins.str = (source)

Version is desired Kubernetes version of the cluster. For now only acceptable format is `<major>.<minor>` like "1.30". Option for patch version update will be added later. By default the cluster control plane <major>.<minor> version will be used.