kubernetes.workload.healthcheck
Atomic adapter for kubernetes.workload.healthcheck; required by parent workflow specs: kubernetes.app.deploy-from-image, kubernetes.workload.rollback-after-healthcheck.
Overview
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-deployments |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | DAG-stamped parent run id. |
organization_uuid | uuid | Yes | — | Organization UUID for tenant isolation. |
actor | string | No | — | User or service actor initiating the workflow. |
dry_run | boolean | No | — | Validate and plan without mutating external resources. |
cluster_connection_uuid | uuid | Yes | — | Kubernetes cluster connection UUID. |
namespace | string | Yes | — | Kubernetes namespace. |
workload_name | string | Yes | — | Workload name. |
image | string | No | — | Container image reference. |
config | json | No | — | Runtime config. |
secrets | list | No | — | Runtime secret requirements. |
dependency_context | json | No | — | Prior DAG step output used by this adapter. |
target_revision | string | No | — | Rollback revision. |
healthcheck | json | No | — | Health check config. |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
status | string | No | — | Adapter terminal status. |
summary | json | No | — | Adapter output summary. |
resource_refs | json | No | — | Provider/app resource references produced by adapter. |
warnings | list | No | — | Non-fatal adapter warnings. |
failure_reason | string | No | — | Adapter failure reason. |
failed_step | json | No | — | Failed step. |
failed_layer | json | No | — | Failed layer. |
failed_at_state | string | No | — | Failed at state. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
failed_at | string | No | — | Failure timestamp. |
States
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
PENDING | Yes | No | — | execute | — |
COMPLETED | No | Yes | Yes | — | — |
FAILED | No | Yes | No | — | — |
State Diagram
Transitions
| From | Action | To | Description |
|---|---|---|---|
PENDING | execute | COMPLETED | — |
* (any state) | fail | FAILED | — |
API Usage
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "kubernetes.workload.healthcheck",
"initial_data": {
"organization_uuid": "value",
"cluster_connection_uuid": "value",
"namespace": "value",
"workload_name": "value"
}
}