Skip to content
Proud to collaborate with Microsoft for Startups

deploy.k8s.sync-all ​

Bulk-refresh DeploymentTarget.status / last_ready_check_at / provider_metadata for every KUBERNETES target in an org (optionally narrowed by cloud_connection or namespace).

Sync the cached status of every KUBERNETES DeploymentTarget in scope.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-deployments
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidNo—Narrow to one kubernetes connection
namespacestringNo—Narrow to one namespace
limitintegerNo—Max targets to sync per run (default 200, cap 500)

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
cloud_connection_uuiduuidNo——
namespacestringNo——
limitintegerNo——
total_targetsintegerNo——
synced_countintegerNo——
ready_countintegerNo——
rolling_countintegerNo——
missing_countintegerNo——
errored_countintegerNo——
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-all",
  "initial_data": {
    "organization_uuid": "value"
  }
}