gcp.gke.cluster.create ​
Start creation of a GKE cluster and return the provider long-running operation.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | Base-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | GCP CloudConnection UUID. |
project_id | string | No | — | GCP project override; defaults to the connection project. |
location | string | Yes | — | GKE region or zone. |
name | string | Yes | — | Cluster name. |
description | string | No | — | Cluster description. |
network | string | No | — | VPC network name or selfLink. |
subnetwork | string | No | — | Subnetwork name or selfLink. |
release_channel | string | No | — | GKE release channel. |
cluster_version | string | No | — | Initial master version. |
initial_node_count | integer | Yes | 3 | Initial node count for the default pool (must be > 0). |
remove_default_node_pool | boolean | No | — | Remove the default node pool after cluster creation. |
node_config | json | No | — | Provider nodeConfig payload for the default pool. |
private_cluster_config | json | No | — | Provider privateClusterConfig payload. |
ip_allocation_policy | json | No | — | Provider ipAllocationPolicy payload. |
master_authorized_networks_config | json | No | — | Provider masterAuthorizedNetworksConfig payload. |
addons_config | json | No | — | Provider addonsConfig payload. |
workload_identity_config | json | No | — | Provider workloadIdentityConfig payload. |
resource_labels | json | No | — | Labels to apply to the cluster. |
deletion_protection | boolean | No | — | GKE deletion protection setting. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | GCP CloudConnection UUID echoed from input. |
project_id | string | No | — | Effective GCP project. |
authenticated_project_id | string | No | — | Project resolved by credential validation. |
auth_validation | boolean | No | — | True when credential validation succeeded. |
default_service_account | string | No | — | Default compute service account |
network_check | boolean | No | — | True when the supplied network was validated. |
location | string | No | — | GKE region or zone used. |
name | string | No | — | Cluster name. |
description | string | No | — | Cluster description. |
network | string | No | — | VPC network name or selfLink. |
subnetwork | string | No | — | Subnetwork name or selfLink. |
release_channel | string | No | — | GKE release channel. |
cluster_version | string | No | — | Initial master version. |
initial_node_count | integer | No | — | Initial node count for the default pool. |
remove_default_node_pool | boolean | No | — | Remove the default node pool after cluster creation. |
node_config | json | No | — | Provider nodeConfig payload for the default pool. |
private_cluster_config | json | No | — | Provider privateClusterConfig payload. |
ip_allocation_policy | json | No | — | Provider ipAllocationPolicy payload. |
master_authorized_networks_config | json | No | — | Provider masterAuthorizedNetworksConfig payload. |
addons_config | json | No | — | Provider addonsConfig payload. |
workload_identity_config | json | No | — | Provider workloadIdentityConfig payload. |
resource_labels | json | No | — | Labels to apply to the cluster. |
deletion_protection | boolean | No | — | GKE deletion protection setting. |
request_id | string | No | — | Optional provider request id for retry safety. |
provider_resource_id | string | No | — | projects/{project}/locations/{location}/clusters/{name}. |
operation_name | string | No | — | GKE long-running operation name. |
operation_status | string | No | — | Initial provider operation status. |
operation | json | No | — | Sanitized provider operation response. |
cluster_request | json | No | — | Sanitized cluster create request sent to GKE. |
failure_reason | string | No | — | Human-readable failure reason. |
failure_type | string | No | — | Engine exception class. |
failure_category | string | No | — | Provider failure category. |
failure_details | json | No | — | Structured provider failure details. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Engine failed layer. |
failed_at_state | string | No | — | State where failure occurred. |
failed_action | string | No | — | Failed transition action. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
failed_at | string | No | — | ISO failure timestamp. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | preflight | — |
executing | No | No | — | complete | — |
preflighting | No | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | preflight | preflighting | — |
preflighting | execute | executing | — |
executing | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "gcp.gke.cluster.create",
"initial_data": {
"connection_uuid": "value",
"location": "value",
"name": "value",
"initial_node_count": 123
}
}