ClusterClusterConfigWorkerConfig class
Constructors
-
ClusterClusterConfigWorkerConfig({Input<List<ClusterClusterConfigWorkerConfigAccelerator>?>? accelerators, Input<ClusterClusterConfigWorkerConfigDiskConfig?>? diskConfig, Input<String?>? imageUri, Input<ClusterClusterConfigWorkerConfigInstanceFlexibilityPolicy?>? instanceFlexibilityPolicy, Input<List<String>?>? instanceNames, Input<String?>? machineType, Input<String?>? minCpuPlatform, Input<int?>? minNumInstances, Input<int?>? numInstances})
-
Creates a new ClusterClusterConfigWorkerConfig.
accelerators The Compute Engine accelerator configuration for these instances. Can be specified multiple times.
diskConfig Disk Config
imageUri The URI for the image to use for this worker. See the guide
instanceFlexibilityPolicy Instance flexibility Policy allowing a mixture of VM shapes.
instanceNames List of worker instance names which have been assigned
machineType The name of a Google Compute Engine machine type
minCpuPlatform The name of a minimum generation of CPU family
minNumInstances The minimum number of primary worker instances to create. If minNumInstances is set, cluster creation will succeed if the number of primary workers created is at least equal to the minNumInstances number.
numInstances Specifies the number of worker nodes to create.
const
-
ClusterClusterConfigWorkerConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
accelerators
→ Input<List<ClusterClusterConfigWorkerConfigAccelerator>?>?
-
The Compute Engine accelerator configuration for these instances. Can be specified multiple times.
final
-
diskConfig
→ Input<ClusterClusterConfigWorkerConfigDiskConfig?>?
-
Disk Config
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
imageUri
→ Input<String?>?
-
The URI for the image to use for this worker. See the guide
for more information.
final
-
instanceFlexibilityPolicy
→ Input<ClusterClusterConfigWorkerConfigInstanceFlexibilityPolicy?>?
-
Instance flexibility Policy allowing a mixture of VM shapes.
final
-
instanceNames
→ Input<List<String>?>?
-
List of worker instance names which have been assigned
to the cluster.
final
-
machineType
→ Input<String?>?
-
The name of a Google Compute Engine machine type
to create for the worker nodes. If not specified, GCP will default to a predetermined
computed value (currently
n1-standard-4).
final
-
minCpuPlatform
→ Input<String?>?
-
The name of a minimum generation of CPU family
for the master. If not specified, GCP will default to a predetermined computed value
for each zone. See the guide
for details about which CPU families are available (and defaulted) for each zone.
final
-
minNumInstances
→ Input<int?>?
-
The minimum number of primary worker instances to create. If
minNumInstances is set, cluster creation will succeed if the number of primary workers created is at least equal to the minNumInstances number.
final
-
numInstances
→ Input<int?>?
-
Specifies the number of worker nodes to create.
If not specified, GCP will default to a predetermined computed value (currently 2).
There is currently a beta feature which allows you to run a
Single Node Cluster.
In order to take advantage of this you need to set
"dataproc:dataproc.allow.zero.workers" = "true" in
cluster_config.software_config.properties
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited