Kubernetes · Arazzo Workflow
Kubernetes Run a One-Off Task Pod and Collect Its Output
Version 1.0.0
Create a run-to-completion pod, poll it until it finishes, read its log, then clean it up.
View Spec
View on GitHub
AutomationCloud-NativeCNCFContainersDeploymentOpen-SourceOrchestrationScalingArazzoWorkflows
Provider
Workflows
run-one-off-pod
Create a run-to-completion pod, read its output, and delete it.
Creates a pod that runs a command to completion, polls the pod until it reaches a terminal phase, reads the log as the task result, and removes the pod.
1
createTaskPod
Create the task pod with restartPolicy Never so a failed command is left in the Failed phase for inspection rather than being restarted forever.
2
pollTaskPod
Read the pod until it leaves the Pending phase. Succeeded means the command exited zero; Failed means it exited non-zero.
3
collectTaskLog
Read the container log as the task's output. This is the only place the command's stdout is retained once the pod is deleted.
4
cleanupTaskPod
Delete the completed task pod so finished one-off runs do not accumulate. The log has already been collected by the previous step.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.