Skip to content
Proud to collaborate with Microsoft for Startups

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 ​

PropertyValue
Workflow typeAtomic
LibraryApp-deployments
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
deployment_target_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
deployment_target_uuiduuidNo——
namespacestringNo——
app_namestringNo——
statusstringNo——
readybooleanNo——
observedjsonNo——
checked_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

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"
  }
}