Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class 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.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.SlurmNodeSet
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ compute_instance
ComputeInstanceSlurmNodeSet
Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
↳ id
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).
↳ compute_id
string
Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's compute_resources .
↳ storage_configs
↳ static_node_count
int|string
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|string
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.
getComputeInstance
Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
hasComputeInstance
setComputeInstance
Optional. If set, indicates that the nodeset should be backed by Compute Engine instances.
$this
getId
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).
string
setId
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).
var
string
$this
getComputeId
Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's compute_resources .
string
setComputeId
Optional. ID of the compute resource on which this nodeset will run. Must match a key in the cluster's compute_resources .
var
string
$this
getStorageConfigs
Optional. How storage resources should be mounted on each compute node.
setStorageConfigs
Optional. How storage resources should be mounted on each compute node.
$this
getStaticNodeCount
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.
int|string
setStaticNodeCount
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.
var
int|string
$this
getMaxDynamicNodeCount
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.
int|string
setMaxDynamicNodeCount
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.
var
int|string
$this
getType
string

