gcp.gke.node_pool.delete ​
Start deletion of a GKE node pool 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 cluster region or zone. |
cluster_name | string | Yes | — | Parent cluster name. |
name | string | Yes | — | Node pool name. |
request_id | string | No | — | Optional provider request id for retry safety. |
ignore_not_found | boolean | No | — | Return existed false when the node pool is absent. |
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. |
request_id | string | No | — | Optional provider request id for retry safety. |
ignore_not_found | boolean | No | — | Return existed false when the node pool is absent. |
provider_resource_id | string | No | — | Full provider node-pool resource path. |
existed | boolean | No | — | False when ignore_not_found handled an absent node pool. |
deleted | boolean | No | — | True when a provider delete operation was started. |
operation_name | string | No | — | GKE long-running operation name. |
operation_status | string | No | — | Initial provider operation status. |
operation | json | No | — | Sanitized provider operation response. |
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 | — |
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_pool.delete",
"initial_data": {
"connection_uuid": "value",
"location": "value",
"cluster_name": "value",
"name": "value"
}
}