ClusterClusterConfigWorkerConfig

data class ClusterClusterConfigWorkerConfig(val accelerators: List<ClusterClusterConfigWorkerConfigAccelerator>? = null, val diskConfig: ClusterClusterConfigWorkerConfigDiskConfig? = null, val imageUri: String? = null, val instanceNames: List<String>? = null, val machineType: String? = null, val minCpuPlatform: String? = null, val minNumInstances: Int? = null, val numInstances: Int? = null)

Constructors

Link copied to clipboard
constructor(accelerators: List<ClusterClusterConfigWorkerConfigAccelerator>? = null, diskConfig: ClusterClusterConfigWorkerConfigDiskConfig? = null, imageUri: String? = null, instanceNames: List<String>? = null, machineType: String? = null, minCpuPlatform: String? = null, minNumInstances: Int? = null, numInstances: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Compute Engine accelerator configuration for these instances. Can be specified multiple times.

Link copied to clipboard
Link copied to clipboard
val imageUri: String? = null

The URI for the image to use for this worker. See the guide for more information.

Link copied to clipboard
val instanceNames: List<String>? = null

List of worker instance names which have been assigned to the cluster.

Link copied to clipboard
val machineType: String? = null

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).

Link copied to clipboard
val minCpuPlatform: String? = null

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.

Link copied to clipboard
val minNumInstances: Int? = null

The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.

Link copied to clipboard
val numInstances: Int? = null

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