Skip to content
Proud to collaborate with Microsoft for Startups

runner.provision_kubernetes_workloads ​

Create Kubernetes Secret and Deployment for runners

Create or update Secret and Deployment for the runner group.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—UUID of the RunnerGroup this action operates on, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
namespacestringNo——
deployment_namestringNo——
registration_secret_namestringNo——
cloud_connection_uuidstringNo—UUID of the CloudConnection backing this runner group's cloud backend, picked from the organization's connections. Optional — omitted when the group has no associated connection.
desired_countintegerNo——
agent_runner_groupbooleanNo——
backend_typestringNo——
initiated_atstringNo——
workflow_run_idstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—UUID of the RunnerGroup this action operates on, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
initiated_atstringNo——
backend_typestringNo——
cloud_connection_uuidstringNo—UUID of the CloudConnection backing this runner group's cloud backend, picked from the organization's connections. Optional — omitted when the group has no associated connection.
namespacestringNo——
deployment_namestringNo——
registration_secret_namestringNo——
desired_countintegerNo——
agent_runner_groupbooleanNo——
statusstringNo——
completed_atstringNo——
failed_atstringNo——
workflow_run_idstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "runner.provision_kubernetes_workloads",
  "initial_data": {
    "runner_group_uuid": "value",
    "organization_uuid": "value",
    "namespace": "value",
    "deployment_name": "value"
  }
}