ON-PREM CHOREO CLOUD BOTH

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 image
    podman push HTTP :5000
  • calls OpenChoreo 1.2.0
    amp-generate-workload creates Workload, release, ReleaseBinding
    REST workloads/generate-release/releasebindings (scheme comes from the apiServer url value, default http)
  • deploys to evaluation-job
    Runs image amp-evaluation-monitor
    Argo pod
  • calls openchoreo-api
    The generate-workload build step registers the Workload and releases it to the first environment
    REST 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 API
    HTTP POST /oauth2/token

Used by (3)

  • deployed by OpenChoreo 1.2.0
    Build and eval runs
    WorkflowRun to Argo Workflow via cluster-agent
  • called by agent-manager-service (AMS)
    Monitor evaluation runs
    OC WorkflowRun create
  • deployed by openchoreo-api
    OpenChoreo's controller turns a build or evaluation run into an Argo Workflow on the workflow plane
    WorkflowRun rendered by the controller and created in the workflow plane through the cluster-gateway and the plane agent

Inside and around

Part of: OC workflow plane, cloud-dp-oc-ci (workflow plane)