SlurmNodeSet(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration for Slurm nodesets in the cluster. Nodesets are groups of compute nodes used by Slurm that are responsible for running workloads submitted to the cluster.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
compute_instance |
google.cloud.hypercomputecluster_v1beta.types.ComputeInstanceSlurmNodeSet
Optional. If set, indicates that the nodeset should be backed by Compute Engine instances. This field is a member of oneof_ type.
|
id |
str
Required. The ID for the nodeset, which allows it to be referenced by cluster partitions. The nodeset ID must start with a lowercase letter ( a-z), use only lowercase
letters or numbers, and contain up to 15 characters. For
example, specify nodeset001.
|
compute_id |
str
Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources. |
storage_configs |
MutableSequence[google.cloud.hypercomputecluster_v1beta.types.StorageConfig]
Optional. How [storage resources][google.cloud.hypercomputecluster.v1beta.StorageResource] should be mounted on each compute node. |
static_node_count |
int
Optional. Number of nodes to be statically created for this nodeset. The cluster will attempt to ensure that at least this many nodes exist at all times. |
max_dynamic_node_count |
int
Optional. Controls how many additional nodes a cluster can bring online to handle workloads. Set this value to enable dynamic node creation and limit the number of additional nodes the cluster can bring online. Leave empty if you do not want the cluster to create nodes dynamically, and instead rely only on static nodes. |
resource_policy_config |
google.cloud.hypercomputecluster_v1beta.types.ResourcePolicyConfig
Optional. Resource policy configuration for the nodeset. |