Google Cloud Dataproc V1 Client - Class GkeNodePoolConfig (3.5.1)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class GkeNodePoolConfig.

The configuration of a GKE node pool used by a Dataproc-on-GKE cluster.

Generated from protobuf message google.cloud.dataproc.v1.GkeNodePoolConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ config Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodeConfig

Optional. The node pool configuration.

↳ locations array

Optional. The list of Compute Engine zones where node pool nodes associated with a Dataproc on GKE virtual cluster will be located. Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region. If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.

↳ autoscaling Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodePoolAutoscalingConfig

Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.

getConfig

Optional. The node pool configuration.

hasConfig

clearConfig

setConfig

Optional. The node pool configuration.

Returns
TypeDescription
$this

getLocations

Optional. The list of Compute Engine zones where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.

Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region. If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.

setLocations

Optional. The list of Compute Engine zones where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.

Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region. If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAutoscaling

Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.

hasAutoscaling

clearAutoscaling

setAutoscaling

Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.

Returns
TypeDescription
$this