Skip to content
Proud to collaborate with Microsoft for Startups

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 ​

PropertyValue
Workflow typeLinear
LibraryApp-deployments
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
rollout_uuiduuidYes——
organization_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
rollout_uuiduuidNo——
organization_uuiduuidNo——
child_workflow_uuidstringNo——
imagestringNo——
namespacestringNo——
app_namestringNo——
poll_attemptsintegerNo——
timed_out_atstringNo——
completed_atstringNo——
failed_atstringNo——
failed_at_statestringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—applyStrategy started; will load rollout context
applyingNoNo—waitk8s.app.update child workflow started; ready to poll
waitingNoNo——Polling k8s.app.update child workflow status
completedNoYesYes—Child workflow reported success
failedNoYesNo—Child workflow reported failure or strategy errored

State Diagram ​

Transitions ​

FromActionToDescription
pendingapplyapplyingStart the k8s.app.update child workflow
applyingwaitwaitingBegin polling child status
waitingwaitwaitingRe-poll while child is still running
waitingcompletecompletedChild reached terminal-success
* (any state)failfailedStrategy 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"
  }
}