Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::SlurmLoginNodes.
Configuration for Slurm login nodes in the cluster. Login nodes are Compute Engine VM instances that allow users to access the cluster over SSH.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#boot_disk
def boot_disk() -> ::Google::Cloud::HypercomputeCluster::V1beta::BootDisk
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::BootDisk) — Optional. Boot disk for the login node.
#boot_disk=
def boot_disk=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::BootDisk
Parameter
- value (::Google::Cloud::HypercomputeCluster::V1beta::BootDisk) — Optional. Boot disk for the login node.
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::BootDisk) — Optional. Boot disk for the login node.
#count
def count() -> ::Integer
Returns
- (::Integer) — Required. Number of login node instances to create.
#count=
def count=(value) -> ::Integer
Parameter
- value (::Integer) — Required. Number of login node instances to create.
Returns
- (::Integer) — Required. Number of login node instances to create.
#enable_os_login
def enable_os_login() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether OS Login should be enabled on login node instances.
#enable_os_login=
def enable_os_login=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether OS Login should be enabled on login node instances.
Returns
- (::Boolean) — Optional. Whether OS Login should be enabled on login node instances.
#enable_public_ips
def enable_public_ips() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether login node instances should be assigned external IP addresses.
#enable_public_ips=
def enable_public_ips=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether login node instances should be assigned external IP addresses.
Returns
- (::Boolean) — Optional. Whether login node instances should be assigned external IP addresses.
#instances
def instances() -> ::Array<::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstance>
Returns
- (::Array<::Google::Cloud::HypercomputeCluster::V1beta::ComputeInstance>) — Output only. Information about the login node instances that were created in Compute Engine.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that should be applied to each login node instance.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that should be applied to each login node instance.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that should be applied to each login node instance.
#machine_type
def machine_type() -> ::String
Returns
-
(::String) — Required. Name of the Compute Engine machine
type to use for
login nodes, e.g.
n2-standard-2.
#machine_type=
def machine_type=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the Compute Engine machine
type to use for
login nodes, e.g.
n2-standard-2.
Returns
-
(::String) — Required. Name of the Compute Engine machine
type to use for
login nodes, e.g.
n2-standard-2.
#startup_script
def startup_script() -> ::String
Returns
- (::String) — Optional. Startup script to be run on each login node instance. Max 256KB.
#startup_script=
def startup_script=(value) -> ::String
Parameter
- value (::String) — Optional. Startup script to be run on each login node instance. Max 256KB.
Returns
- (::String) — Optional. Startup script to be run on each login node instance. Max 256KB.
#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 login 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 login node.
Returns
- (::Array<::Google::Cloud::HypercomputeCluster::V1beta::StorageConfig>) — Optional. How [storage resources][google.cloud.hypercomputecluster.v1beta.StorageResource] should be mounted on each login node.
#zone
def zone() -> ::String
Returns
-
(::String) — Required. Name of the zone in which login nodes should run, e.g.,
us-central1-a. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.
#zone=
def zone=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the zone in which login nodes should run, e.g.,
us-central1-a. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.
Returns
-
(::String) — Required. Name of the zone in which login nodes should run, e.g.,
us-central1-a. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.