gcp.gke.node_pool.wait_ready ​
Poll a GKE node pool until it reports ready status or times out.
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 cluster region or zone. |
cluster_name | string | Yes | — | Parent cluster name. |
name | string | Yes | — | Node pool name. |
timeout_seconds | integer | No | — | Maximum wait duration; implementation default 1800. |
poll_interval_seconds | integer | No | — | Poll interval; implementation default 15. |
ready_statuses | list | No | — | Status values considered ready; default RUNNING. |
failure_statuses | list | No | — | Status values considered terminal failures. |
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. |
location | string | No | — | GKE cluster region or zone. |
cluster_name | string | No | — | Parent cluster name. |
name | string | No | — | Node pool name. |
timeout_seconds | integer | No | — | Maximum wait duration; implementation default 1800. |
poll_interval_seconds | integer | No | — | Poll interval; implementation default 15. |
ready_statuses | list | No | — | Status values considered ready; default RUNNING. |
failure_statuses | list | No | — | Status values considered terminal failures. |
started_at | string | No | — | ISO timestamp for the first poll. |
last_polled_at | string | No | — | ISO timestamp for the latest poll. |
provider_resource_id | string | No | — | Full provider node-pool resource path. |
ready | boolean | No | — | True when node-pool status is ready. |
status | string | No | — | Last observed node-pool status. |
status_message | string | No | — | Last observed status message. |
version | string | No | — | Node pool Kubernetes version. |
node_count | integer | No | — | Reported initial or desired node count. |
instance_group_urls | list | No | — | Backing managed instance group URLs. |
config | json | No | — | Sanitized provider node config. |
autoscaling | json | No | — | Provider autoscaling settings. |
management | json | No | — | Provider node management settings. |
node_pool | json | No | — | Last sanitized node-pool response. |
conditions | list | No | — | Last observed node-pool conditions. |
exists | boolean | No | — | True when the node pool was found. |
attempts | integer | No | — | Number of poll attempts. |
elapsed_seconds | integer | No | — | Total wait time. |
timed_out | boolean | No | — | True when timeout was reached before readiness. |
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. |
failed_at | string | No | — | ISO failure timestamp. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | preflight | — |
preflighting | No | No | — | start_wait | — |
waiting | No | No | — | — | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | preflight | preflighting | — |
preflighting | start_wait | waiting | — |
waiting | poll | waiting | — |
waiting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "gcp.gke.node_pool.wait_ready",
"initial_data": {
"connection_uuid": "value",
"location": "value",
"cluster_name": "value",
"name": "value"
}
}