ON-PREM CHOREO CLOUD BOTH

What you will learn

  • Sort the main parts of Agent Manager into the control side and the data side
  • Say what the cluster-agent and the gateway-controller are and who starts their connections
  • Explain why the data side dials out to the control side
  • Follow a deploy from the console to a running agent

Before you start

On this page

Open the system diagram and one thing stands out: it has a left half and a right half with a narrow strip in the middle. That layout is the most useful map of Agent Manager there is. Learn it once and every later lesson has a place to sit.

The left half: the control side

The decides and stores. It runs no agents and no builds. It holds:

  • AMS, the central service, with its Postgres database. It also has a second, internal door (the internal server) that gateways use to connect.
  • The OpenChoreo control plane. It keeps the master record of what should exist: its API, a controller, and a hub called the cluster-gateway.
  • ThunderID for people and services, the identity server that signs them in. In an on-prem install this is the platform ThunderID.

The right half: the data side

The does the work. In OpenChoreo’s words it is made of three .

PlaneWhat it does
Data planeRuns the agents. The for each environment lives here too. Each environment’s own , which holds agent identities, is drawn on this side of the diagram.
Workflow planeBuilds agent images and runs evaluation jobs, using Argo Workflows.
Observability planeStores , logs and metrics. The service reads them back out.

The strip in the middle

How does the control side tell the data side what to do, if it has no login to the data side’s clusters? The answer is that the data side calls first. Two small programs hold the line open.

Component

OC cluster-agent

Control side Control plane BOTH

The OpenChoreo cluster-agent is a small program that runs in each plane. It opens an outbound mutual-TLS WebSocket to the control plane's cluster-gateway and carries out the instructions it receives inside its own plane, such as applying manifests.

The runs in each remote plane. It opens a to the cluster-gateway on the control side. Both sides show certificates to prove who they are, which is called . Instructions, such as “apply these manifests”, then travel down the line that the agent already opened.

The is the brain of one gateway. It also dials out, to AMS’s internal door, and sends a registration token with the request. It does not present a certificate of its own for this: the token is what proves who it is. When an LLM provider is deployed to a gateway, AMS pushes the news down that connection and the gateway fetches the new settings.

For these two lines, nothing on the control side has to open a connection into the data side. That has two benefits.

  • No keys to the clusters. A plane is registered with the certificate authority its agent uses, not with a kubeconfig.
  • No open doors for these lines. The remote clusters need no inbound port for OpenChoreo’s instructions or for gateway updates.

Some other calls do go straight to the data side. For example, AMS calls the environment’s ThunderID and the observer over HTTP.

Follow a deploy

  1. You click Deploy in the console

    The calls AMS with your signed token.

  2. AMS asks OpenChoreo

    AMS does not talk to directly. It calls the OpenChoreo API on the control side, which records what should run.

  3. The cluster-agent carries it down

    The control plane turns the plan into manifests. The cluster-agent in the data plane, which already holds a connection open, receives and applies them.

  4. The agent runs on the data side

    The agent starts in the data plane. Its traffic to models and tools now flows through the gateway there.

In Choreo Cloud

has the same shape, spread over more clusters. Choreo Labs’ own services sit on one cluster, the customer control plane is another, and customer agents, telemetry and builds each have their own. A cluster-agent in each remote plane dials out to the control plane. In Choreo Labs’ own clusters the agent certificates chain up to a shared root that both sides trust.

Recap

  • Control side: AMS, the OpenChoreo control plane and the identity server for people. It decides and stores.
  • Data side: the data, workflow and observability planes. It runs agents, builds and telemetry.
  • The cluster-agent and the gateway-controller both dial out from the data side to hold the management lines open.
  • A deploy goes console, then AMS, then OpenChoreo, then the cluster-agent, then the running agent.

Try it

The diagram

What to do: look at the highlighted boxes, then click one. "Reset view" shows the whole diagram.

Loading the diagram...

Watch the story

What to do: scroll, press J and K, or use the Next scene button. The diagram follows the story.

Loading the story...

  1. Two halves. Open the system diagram and it has a left half and a right half. Learn this split once and every later lesson has a place to sit.
  2. The control side decides and stores. On the left sit AMS and its database, the OpenChoreo control plane and, on-prem, the platform ThunderID. They hold the records and the plan, and they run no agents and no builds.
  3. The data side does the work. On the right sit three OpenChoreo planes. The data plane runs agents, the workflow plane builds images and runs evaluations, and the observability plane stores traces, logs and metrics.
  4. The data side opens the lines. Two small programs hold management lines open. The cluster-agent connects to OpenChoreo's hub on the control side, and the gateway-controller connects to AMS's internal door.
  5. Two ways to prove who you are. The cluster-agent line uses mutual TLS, so both sides show certificates. The gateway-controller connects over TLS and shows a registration token in an api-key header, with no certificate of its own.
  6. Some calls go straight across. Not every call is opened from the data side. AMS calls each environment's ThunderID and the observer directly over HTTP.
  7. Registered with a CA, not a kubeconfig. A plane is registered with the certificate authority its agent uses, not with a kubeconfig. Work for a plane travels down the line that its agent opened.
  8. A deploy crosses the line. When you deploy, AMS tells OpenChoreo, the instructions reach the data side over a line it opened, and OpenChoreo renders the agent in the data plane.

Wrap up

Recap

Tick each one when you could explain it to a colleague.

Finished?

Quick check

Loading the quick check...

Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)