Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::SlurmNodeSet.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#compute_id
def compute_id() -> ::String
Returns
- (::String) — Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's compute_resources.
#compute_id=
def compute_id=(value) -> ::String
Parameter
- value (::String) — Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's compute_resources.
Returns
- (::String) — Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's compute_resources.
#compute_instance
def compute_instance() -> ::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstanceSlurmNodeSet
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstanceSlurmNodeSet) — Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
#compute_instance=
def compute_instance=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstanceSlurmNodeSet
Parameter
- value (::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstanceSlurmNodeSet) — Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstanceSlurmNodeSet) — Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
#id
def id() -> ::String
Returns
- (::String) — Required. Identifier for the nodeset, which allows it to be referenced by partitions. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
#id=
def id=(value) -> ::String
Parameter
- value (::String) — Required. Identifier for the nodeset, which allows it to be referenced by partitions. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
Returns
- (::String) — Required. Identifier for the nodeset, which allows it to be referenced by partitions. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
#max_dynamic_node_count
def max_dynamic_node_count() -> ::Integer
Returns
- (::Integer) — 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.
#max_dynamic_node_count=
def max_dynamic_node_count=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#static_node_count
def static_node_count() -> ::Integer
Returns
- (::Integer) — 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.
#static_node_count=
def static_node_count=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#storage_configs
def storage_configs() -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>
Returns
- (::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>) — Optional. How [storage resources][google.cloud.hypercomputecluster.v1beta.StorageResource] should be mounted on each compute node.
#storage_configs=
def storage_configs=(value) -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>
Parameter
- value (::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>) — Optional. How [storage resources][google.cloud.hypercomputecluster.v1beta.StorageResource] should be mounted on each compute node.
Returns
- (::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>) — Optional. How [storage resources][google.cloud.hypercomputecluster.v1beta.StorageResource] should be mounted on each compute node.