Cluster Director V1BETA API - Class Google::Cloud::HypercomputeCluster::V1beta::SlurmNodeSet (v0.1.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) — 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

#compute_instance=

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

#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

#storage_configs=

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