Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::SlurmOrchestrator.
When set in Orchestrator, indicates that the cluster should use Slurm as the orchestrator.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#default_partition
def default_partition() -> ::String
Returns
- (::String) — Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.
#default_partition=
def default_partition=(value) -> ::String
Parameter
- value (::String) — Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.
Returns
- (::String) — Optional. Default partition to use for submitted jobs that do not explicitly specify a partition. Required if and only if there is more than one partition, in which case it must match the id of one of the partitions.
#epilog_bash_scripts
def epilog_bash_scripts() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.
#epilog_bash_scripts=
def epilog_bash_scripts=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.
Returns
- (::Array<::String>) — Optional. Slurm epilog scripts, which will be executed by compute nodes whenever a node finishes running a job. Values must not be empty.
#login_nodes
def login_nodes() -> ::Google::Cloud::HypercomputeCluster::V1beta::SlurmLoginNodes
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::SlurmLoginNodes) — Required. Configuration for login nodes, which allow users to access the cluster over SSH.
#login_nodes=
def login_nodes=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::SlurmLoginNodes
Parameter
- value (::Google::Cloud::HypercomputeCluster::V1beta::SlurmLoginNodes) — Required. Configuration for login nodes, which allow users to access the cluster over SSH.
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::SlurmLoginNodes) — Required. Configuration for login nodes, which allow users to access the cluster over SSH.
#node_sets
def node_sets() -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmNodeSet>
Returns
- (::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmNodeSet>) — Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.
#node_sets=
def node_sets=(value) -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmNodeSet>
Parameter
- value (::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmNodeSet>) — Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.
Returns
- (::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmNodeSet>) — Required. Configuration of Slurm nodesets, which define groups of compute resources that can be used by Slurm. At least one compute node is required.
#partitions
def partitions() -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmPartition>
Returns
- (::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmPartition>) — Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.
#partitions=
def partitions=(value) -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmPartition>
Parameter
- value (::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmPartition>) — Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.
Returns
- (::Array<::Google::Cloud::HypercomputeCluster::V1beta::SlurmPartition>) — Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue against which jobs can be submitted. At least one partition is required.
#prolog_bash_scripts
def prolog_bash_scripts() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.
#prolog_bash_scripts=
def prolog_bash_scripts=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.
Returns
- (::Array<::String>) — Optional. Slurm prolog scripts, which will be executed by compute nodes before a node begins running a new job. Values must not be empty.