Google Kubernetes Engine (GKE)

Create cluster

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project’s default network. One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project’s global metadata indicating which CIDR range the cluster is using.

Inputs

Field

Type

Description

projectId [required]

string

CreateClusterRequest projectId.

zone [required]

string

CreateClusterRequest zone.

cluster

Required. A cluster resource.

parent [required]

string

The parent (project and location) where the cluster will be created. Specified in the format projects/* /locations/*.

Outputs

Expand All

Field

Type

Description

result [required]

object

Create cluster output result.

name

string,null

Operation name

zone

string,null

Operation zone

operationType

Operation operationType

status

Operation status

detail

string,null

Operation detail

statusMessage

string,null

Operation statusMessage

selfLink

string,null

Operation selfLink

targetLink

string,null

Operation targetLink

location

string,null

Operation location

startTime

string,null

Operation startTime

endTime

string,null

Operation endTime

progress

Operation progress

clusterConditions

Operation clusterConditions

nodepoolConditions

Operation nodepoolConditions

error

Operation error