Cluster Cluster Config Gce Cluster Config Args
Constructors
Properties
By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. If set to true, all instances in the cluster will only have internal IP addresses. Note: Private Google Access (also known as privateIpGoogleAccess
) must be enabled on the subnetwork that the cluster will be launched in.
Node Group Affinity for sole-tenant clusters.
Reservation Affinity for consuming zonal reservation.
The service account to be used by the Node VMs. If not specified, the "default" service account is used.
The set of Google API scopes to be made available on all of the node VMs under the service_account
specified. Both OAuth2 URLs and gcloud short names are supported. To allow full access to all Cloud APIs, use the cloud-platform
scope. See a complete list of scopes here.
Shielded Instance Config for clusters using Compute Engine Shielded VMs.
The name or self_link of the Google Compute Engine subnetwork the cluster will be part of. Conflicts with network
.
The GCP zone where your data is stored and used (i.e. where the master and the worker nodes will be created in). If region
is set to 'global' (default) then zone
is mandatory, otherwise GCP is able to make use of Auto Zone Placement to determine this automatically for you. Note: This setting additionally determines and restricts which computing resources are available for use with other configs such as cluster_config.master_config.machine_type
and cluster_config.worker_config.machine_type
.