Cluster Director V1BETA API - Class Google::Cloud::HypercomputeCluster::V1beta::SlurmNodeSet (v1.3.0)

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) — Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources.

#compute_id=

def compute_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources.
Returns
  • (::String) — Required. The ID of the compute resource on which this nodeset runs. Must match a key in the cluster's compute_resources.

#compute_instance

def compute_instance() -> ::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstanceSlurmNodeSet
Returns

#compute_instance=

def compute_instance=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstanceSlurmNodeSet
Parameter
Returns

#id

def id() -> ::String
Returns
  • (::String) — 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.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#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.

#resource_policy_config

def resource_policy_config() -> ::Google::Cloud::HypercomputeCluster::V1beta::ResourcePolicyConfig
Returns

#resource_policy_config=

def resource_policy_config=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::ResourcePolicyConfig
Parameter
Returns

#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

#storage_configs=

def storage_configs=(value) -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>
Parameter
Returns