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
- (::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. 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, specifynodeset001.
#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, specifynodeset001.
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, specifynodeset001.
#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
- (::Google::Cloud::HypercomputeCluster::V1beta::ResourcePolicyConfig) — Optional. Resource policy configuration for the nodeset.
#resource_policy_config=
def resource_policy_config=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::ResourcePolicyConfig
Parameter
- value (::Google::Cloud::HypercomputeCluster::V1beta::ResourcePolicyConfig) — Optional. Resource policy configuration for the nodeset.
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::ResourcePolicyConfig) — Optional. Resource policy configuration for the nodeset.
#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.