gcp.gke.node_pools.create ​
Create all requested GKE node pools from a list input.
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. |
location | string | Yes | — | GKE region or zone. |
cluster_name | string | Yes | — | GKE cluster name. |
node_pools | json | Yes | — | List of node-pool configuration objects. |
machine_type | string | No | — | Default node machine type. |
disk_size_gb | integer | No | — | Default boot disk size in GiB. |
disk_type | string | No | — | Default boot disk type. |
image_type | string | No | — | Default node image type. |
service_account | string | No | — | Default node service account. |
oauth_scopes | list | No | — | Default node OAuth scopes. |
labels | json | No | — | Default node labels. |
version | string | No | — | Default node Kubernetes version. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | GCP CloudConnection UUID. |
project_id | string | No | — | GCP project override. |
location | string | No | — | GKE region or zone. |
cluster_name | string | No | — | GKE cluster name. |
node_pools | json | No | — | List of node-pool configuration objects. |
machine_type | string | No | — | Default node machine type. |
disk_size_gb | integer | No | — | Default boot disk size in GiB. |
disk_type | string | No | — | Default boot disk type. |
image_type | string | No | — | Default node image type. |
service_account | string | No | — | Default node service account. |
oauth_scopes | list | No | — | Default node OAuth scopes. |
labels | json | No | — | Default node labels. |
version | string | No | — | Default node Kubernetes version. |
create_node_pools | json | No | — | Outputs from each node-pool create call. |
node_pool_count | integer | No | — | Number of node pools submitted. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Engine failed layer. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
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.node_pools.create",
"initial_data": {
"connection_uuid": "value",
"location": "value",
"cluster_name": "value",
"node_pools": "value"
}
}