kubernetes.cluster.version ​
Read Kubernetes API server version.
Read the Kubernetes API server version through an existing CloudConnection.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-kubernetes |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | Kubernetes CloudConnection UUID. |
organization_uuid | uuid | No | — | Owning organization UUID (engine-injected). |
workflow_run_id | string | No | — | Engine DAG run ID stamped onto child steps. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | Kubernetes CloudConnection UUID. |
organization_uuid | uuid | No | — | Owning organization UUID (engine-injected). |
server_version | string | No | — | Kubernetes API server git version. |
git_version | string | No | — | Kubernetes API server git version. |
major | string | No | — | Kubernetes API server major version. |
minor | string | No | — | Kubernetes API server minor version. |
platform | string | No | — | Kubernetes API server platform. |
checked_at | string | No | — | ISO timestamp when the version was read. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | json | No | — | Failed logical step. |
failed_layer | json | No | — | Failed logical layer. |
failure_type | string | No | — | Failure category. |
failed_action | string | No | — | Action that failed. |
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 | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "kubernetes.cluster.version",
"initial_data": {
"connection_uuid": "value"
}
}