deploy.k8s.sync-target-status ​
Read live Deployment status for a KUBERNETES DeploymentTarget and refresh its status / last_ready_check_at / provider_metadata.
Refresh one DeploymentTarget's cached status from the cluster.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-deployments |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
deployment_target_uuid | uuid | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | — |
deployment_target_uuid | uuid | No | — | — |
namespace | string | No | — | — |
app_name | string | No | — | — |
status | string | No | — | — |
ready | boolean | No | — | — |
observed | json | No | — | — |
checked_at | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
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": "deploy.k8s.sync-target-status",
"initial_data": {
"organization_uuid": "value",
"deployment_target_uuid": "value"
}
}