Component ยท Data side
Argo Workflows
BOTH Component Workflow plane
What it is
Argo Workflows is the engine that runs builds and evaluation jobs in the OpenChoreo workflow plane. Each OpenChoreo WorkflowRun becomes an Argo workflow, which runs its steps as pods.
Why it exists
Builds and evaluations are batch jobs with several steps. A workflow engine handles ordering, retries and cleanup so Agent Manager does not have to.
How it works
- Installed with the OpenChoreo workflow-plane chart in the namespace openchoreo-workflow-plane.
- Runs in per-namespace areas called workflows-<namespace>.
- A build workflow checks out code, builds the image, pushes it to the registry and registers the result with OpenChoreo.
- Agent Manager monitors also run here, through the workflow monitor-evaluation-workflow, which runs the cluster workflow template amp-monitor-evaluation.
- On Choreo Cloud this runs on the cloud-dp-oc-ci cluster.
Identity and access
The workflow plane's cluster-agent connects to the control plane with a client certificate. Steps that call OpenChoreo, such as the last build step, fetch their own service token.
Key facts
- Namespace
- openchoreo-workflow-plane
- Runs in
- workflows-<namespace>
- Side
- Workflow plane
Talks to (5)
- sends telemetry to Container registry Build publishes imagepodman push HTTP :5000
- calls OpenChoreo 1.2.0 amp-generate-workload creates Workload, release, ReleaseBindingREST workloads/generate-release/releasebindings (scheme comes from the apiServer url value, default http)
- deploys to evaluation-job Runs image amp-evaluation-monitorArgo pod
- calls openchoreo-api The generate-workload build step registers the Workload and releases it to the first environmentREST workloads, generate-release, releasebindings (scheme comes from the apiServer url value, default http)
- signs in with Platform ThunderID 1.0.0 Build step gets a service token before calling the OpenChoreo APIHTTP POST /oauth2/token
Used by (3)
- deployed by OpenChoreo 1.2.0 Build and eval runsWorkflowRun to Argo Workflow via cluster-agent
- called by agent-manager-service (AMS) Monitor evaluation runsOC WorkflowRun create
- deployed by openchoreo-api OpenChoreo's controller turns a build or evaluation run into an Argo Workflow on the workflow planeWorkflowRun rendered by the controller and created in the workflow plane through the cluster-gateway and the plane agent