Skip to content
Proud to collaborate with Microsoft for Startups

gcp.gke.node_pool.create ​

Start creation of a GKE node pool and return the provider long-running operation.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override; defaults to the connection project.
locationstringYes—GKE cluster region or zone.
cluster_namestringYes—Parent cluster name.
namestringYes—Node pool name.
node_countintegerNo—Initial node count.
machine_typestringNo—GCE machine type for nodes.
disk_size_gbintegerNo—Boot disk size in GiB.
disk_typestringNo—Boot disk type.
image_typestringNo—GKE node image type.
service_accountstringNo—Node service account email.
oauth_scopeslistNo—OAuth scopes for node service account.
labelsjsonNo—Kubernetes labels for nodes.
tagslistNo—GCE network tags for nodes.
taintslistNo—Kubernetes taints for nodes.
metadatajsonNo—GCE metadata for nodes.
autoscalingjsonNo—Provider autoscaling payload.
managementjsonNo—Provider node management payload.
upgrade_settingsjsonNo—Provider upgrade settings payload.
versionstringNo—Node pool Kubernetes version.
max_pods_per_nodeintegerNo—Maximum pods per node.
spotbooleanNo—Use spot VMs for nodes.
preemptiblebooleanNo—Use preemptible VMs for nodes.
request_idstringNo—Optional provider request id for retry safety.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—GCP CloudConnection UUID echoed from input.
project_idstringNo—Effective GCP project.
authenticated_project_idstringNo—Project resolved by credential validation.
auth_validationbooleanNo—True when credential validation succeeded.
default_service_accountstringNo—Default compute service account
cluster_statusstringNo—Parent cluster status observed before creation.
clusterjsonNo—Sanitized parent cluster summary.
locationstringNo—GKE cluster region or zone.
cluster_namestringNo—Parent cluster name.
namestringNo—Node pool name.
node_countintegerNo—Initial node count.
machine_typestringNo—GCE machine type for nodes.
disk_size_gbintegerNo—Boot disk size in GiB.
disk_typestringNo—Boot disk type.
image_typestringNo—GKE node image type.
service_accountstringNo—Node service account email.
oauth_scopeslistNo—OAuth scopes for node service account.
labelsjsonNo—Kubernetes labels for nodes.
tagslistNo—GCE network tags for nodes.
taintslistNo—Kubernetes taints for nodes.
metadatajsonNo—GCE metadata for nodes.
autoscalingjsonNo—Provider autoscaling payload.
managementjsonNo—Provider node management payload.
upgrade_settingsjsonNo—Provider upgrade settings payload.
versionstringNo—Node pool Kubernetes version.
max_pods_per_nodeintegerNo—Maximum pods per node.
spotbooleanNo—Use spot VMs for nodes.
preemptiblebooleanNo—Use preemptible VMs for nodes.
request_idstringNo—Optional provider request id for retry safety.
provider_resource_idstringNo—Full provider node-pool resource path.
operation_namestringNo—GKE long-running operation name.
operation_statusstringNo—Initial provider operation status.
operationjsonNo—Sanitized provider operation response.
node_pool_requestjsonNo—Sanitized node-pool create request sent to GKE.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
executingNoNo—complete—
preflightingNoNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecuteexecuting—
executingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gcp.gke.node_pool.create",
  "initial_data": {
    "connection_uuid": "value",
    "location": "value",
    "cluster_name": "value",
    "name": "value"
  }
}