Component ยท Control side
OC cluster-agent
BOTH Component Control plane
What it is
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.
Why it exists
A plane is registered with a certificate authority instead of a kubeconfig, and the plane opens the connection outward, so the control plane does not need inbound access to it.
How it works
- Runs in the data, workflow and observability planes, each with its own agent (label app=cluster-agent).
- Dials out to the cluster-gateway and keeps the connection open.
- Connects with the client certificate in the cluster-agent-tls secret and checks the gateway against the cluster-gateway-ca ConfigMap in its own namespace. The plane resource, not the agent, holds the CA that the certificate must chain to.
- Runs the requests that arrive on the connection against the plane's own Kubernetes API with its service account.
- If a plane shows as disconnected, the first thing to check is the cluster-agent logs and a certificate mismatch.
Identity and access
It authenticates with a client certificate (mutual TLS). On Choreo Cloud the certificates chain up to a mesh root authority named openchoreo-mesh-root, which signs a separate intermediate for each plane.
Key facts
- Direction
- Outbound only
- Protocol
- WebSocket over mTLS
- Side
- In each plane
- Namespace
- each plane
Talks to (2)
- calls OC control plane Planes dial out to CPmTLS WebSocket (agent dials out) on 8443
- calls OpenChoreo cluster-gateway Plane registration and commandsmTLS WebSocket (agent dials out) on 8443
Used by (1)
- deployed by openchoreo-api OpenChoreo's controller delivers rendered releases to the data plane through the cluster-gateway and the plane agentRenderedRelease applied through the cluster-gateway over the connection the plane agent opened (mutual TLS)
Inside and around
Part of: OC data plane