class NodeGroupSpec(pb_classes.Message): (source)
Constructor: NodeGroupSpec(initial_message, version, fixed_node_count, autoscaling, ...)
Undocumented
Class | __ |
Undocumented |
Class | __ |
Undocumented |
Class | __ |
Undocumented |
Method | __dir__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | autoscaling |
Undocumented |
Method | fixed |
Undocumented |
Method | strategy |
Undocumented |
Method | template |
Undocumented |
Method | version |
Undocumented |
Constant | __PB2 |
Undocumented |
Constant | __PY |
Undocumented |
Class Variable | __mask |
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 |
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 |
Undocumented |
Class Method | is |
Undocumented |
Class Method | is |
Undocumented |
Method | __repr__ |
Undocumented |
Method | check |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | is |
Undocumented |
Method | set |
Undocumented |
Method | which |
Undocumented |
Class Variable | __PB2 |
Undocumented |
Instance Variable | __pb2 |
Undocumented |
Method | _clear |
Undocumented |
Method | _get |
Undocumented |
Method | _set |
Undocumented |
Class Variable | __credentials |
Undocumented |
Class Variable | __default |
Undocumented |
Class Variable | __sensitive |
Undocumented |
Instance Variable | __recorded |
Undocumented |
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)
¶
Undocumented
def autoscaling(self, value:
NodeGroupAutoscalingSpec | node_group_pb2.NodeGroupAutoscalingSpec | None
):
(source)
¶
Undocumented
def strategy(self, value:
NodeGroupDeploymentStrategy | node_group_pb2.NodeGroupDeploymentStrategy | None
):
(source)
¶
Undocumented
def template(self, value:
NodeTemplate | node_group_pb2.NodeTemplate | None
):
(source)
¶
Undocumented
Undocumented
Value |
|
Undocumented
Value |
|
Enables [Kubernetes Cluster Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler) for that NodeGroup, and defines autoscaling parameters.
size:
__OneOfClass_size_fixed_node_count__ | __OneOfClass_size_autoscaling__ | None
=
(source)
¶
Undocumented
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.
Parameters for Kubernetes Node object and Nebius Compute Instance If not written opposite a NodeTemplate field update will cause NodeGroup roll-out according NodeGroupDeploymentStrategy.