class NodeTemplate(pb_classes.Message): (source)
Constructor: NodeTemplate(initial_message, metadata, taints, resources, ...)
Undocumented
Method | __dir__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | boot |
Undocumented |
Method | cloud |
Undocumented |
Method | filesystems |
Undocumented |
Method | gpu |
Undocumented |
Method | gpu |
Undocumented |
Method | metadata |
Undocumented |
Method | network |
Undocumented |
Method | resources |
Undocumented |
Method | service |
Undocumented |
Method | taints |
Undocumented |
Constant | __PB2 |
Undocumented |
Constant | __PY |
Undocumented |
Class Variable | __mask |
Undocumented |
Property | boot |
Parameters of a Node Nebius Compute Instance boot disk. |
Property | cloud |
cloud-init user-data Should contain at least one SSH key. |
Property | filesystems |
Static attachments of Compute Filesystem. Can be used as a workaround, until CSI for Compute Disk and Filesystem will be available. |
Property | gpu |
Nebius Compute GPUCluster ID that will be attached to node. |
Property | gpu |
GPU-related settings. |
Property | metadata |
Undocumented |
Property | network |
Undocumented |
Property | resources |
Resources that will have Nebius Compute Instance where Node kubelet will run. |
Property | service |
the Nebius service account whose credentials will be available on the nodes of the group. With these credentials, it is possible to make `npc` or public API requests from the nodes without the need for extra authentication... |
Property | taints |
Kubernetes Node taints. For now change will not be propagated to existing nodes, so will be applied only to Kubernetes Nodes created after the field change. That behaviour may change later. So, for now you will need to manually set them to existing nodes, if that is needed... |
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, *, metadata: NodeMetadataTemplate | node_group_pb2.NodeMetadataTemplate | None | unset.UnsetType
= unset.Unset, taints: abc.Iterable[ NodeTaint] | None | unset.UnsetType
= unset.Unset, resources: ResourcesSpec | instance_template_pb2.ResourcesSpec | None | unset.UnsetType
= unset.Unset, boot_disk: DiskSpec | instance_template_pb2.DiskSpec | None | unset.UnsetType
= unset.Unset, gpu_settings: GpuSettings | node_group_pb2.GpuSettings | None | unset.UnsetType
= unset.Unset, gpu_cluster: GpuClusterSpec | node_group_pb2.GpuClusterSpec | None | unset.UnsetType
= unset.Unset, network_interfaces: abc.Iterable[ NetworkInterfaceTemplate] | None | unset.UnsetType
= unset.Unset, filesystems: abc.Iterable[ AttachedFilesystemSpec] | None | unset.UnsetType
= unset.Unset, cloud_init_user_data: builtins.str | None | unset.UnsetType
= unset.Unset, service_account_id: builtins.str | None | unset.UnsetType
= unset.Unset):
(source)
¶
Undocumented
def boot_disk(self, value:
DiskSpec | instance_template_pb2.DiskSpec | None
):
(source)
¶
Undocumented
def filesystems(self, value:
abc.Iterable[ AttachedFilesystemSpec] | None
):
(source)
¶
Undocumented
def gpu_cluster(self, value:
GpuClusterSpec | node_group_pb2.GpuClusterSpec | None
):
(source)
¶
Undocumented
def gpu_settings(self, value:
GpuSettings | node_group_pb2.GpuSettings | None
):
(source)
¶
Undocumented
def metadata(self, value:
NodeMetadataTemplate | node_group_pb2.NodeMetadataTemplate | None
):
(source)
¶
Undocumented
def network_interfaces(self, value:
abc.Iterable[ NetworkInterfaceTemplate] | None
):
(source)
¶
Undocumented
def resources(self, value:
ResourcesSpec | instance_template_pb2.ResourcesSpec | None
):
(source)
¶
Undocumented
Undocumented
Value |
|
Undocumented
Value |
|
Static attachments of Compute Filesystem. Can be used as a workaround, until CSI for Compute Disk and Filesystem will be available.
the Nebius service account whose credentials will be available on the nodes of the group. With these credentials, it is possible to make `npc` or public API requests from the nodes without the need for extra authentication. This service account is also used to make requests to container registry.
`resource.serviceaccount.issueAccessToken` permission is required to use this field.
Kubernetes Node taints. For now change will not be propagated to existing nodes, so will be applied only to Kubernetes Nodes created after the field change. That behaviour may change later. So, for now you will need to manually set them to existing nodes, if that is needed. Field change will NOT trigger NodeGroup roll out.