deploy.k8s.rollout-rolling ​
Roll out a release to a KUBERNETES DeploymentTarget by driving k8s.app.update.
Apply a release to a k8s DeploymentTarget via the k8s.app.update sub-workflow.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-deployments |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
rollout_uuid | uuid | Yes | — | — |
organization_uuid | uuid | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
rollout_uuid | uuid | No | — | — |
organization_uuid | uuid | No | — | — |
child_workflow_uuid | string | No | — | — |
image | string | No | — | — |
namespace | string | No | — | — |
app_name | string | No | — | — |
poll_attempts | integer | No | — | — |
timed_out_at | string | No | — | — |
completed_at | string | No | — | — |
failed_at | string | No | — | — |
failed_at_state | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | 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 | — | apply | Strategy started; will load rollout context |
applying | No | No | — | wait | k8s.app.update child workflow started; ready to poll |
waiting | No | No | — | — | Polling k8s.app.update child workflow status |
completed | No | Yes | Yes | — | Child workflow reported success |
failed | No | Yes | No | — | Child workflow reported failure or strategy errored |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | apply | applying | Start the k8s.app.update child workflow |
applying | wait | waiting | Begin polling child status |
waiting | wait | waiting | Re-poll while child is still running |
waiting | complete | completed | Child reached terminal-success |
* (any state) | fail | failed | Strategy moves to failed |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "deploy.k8s.rollout-rolling",
"initial_data": {
"rollout_uuid": "value",
"organization_uuid": "value"
}
}