---
title: "Control plane overview"
description: "What the opod control plane manages, the jobs it takes off your hands, and where each part is documented."
url: "https://opod.io/docs/control-plane/"
markdown_url: "https://opod.io/docs/control-plane.md"
section: "Control plane"
last_updated: "2026-11-01"
---

# Control plane overview

> What the opod control plane manages, the jobs it takes off your hands, and where each part is documented.

## In short

The control plane (`opodcp`) turns a Kubernetes cluster with GPUs into a set of OpenAI-compatible endpoints. You tell it which model to serve and how; it measures every card, places the workers, keeps them running, scales them and records what they did. It is never on the request path: each endpoint's leader serves requests even while the control plane is down. It is free up to 4 GPUs.

**Works with LiteLLM.** Put LiteLLM in front of your endpoints for per-user keys, budgets and rate limits; opod keeps the GPUs. See [Use with LiteLLM](https://opod.io/docs/get-started/litellm/).

## When you need it

- You run open models on your own GPUs and want one way to create, scale and roll them out.
- Several teams share a pool of GPUs and you need to see who holds which card.
- You need an audit trail and usage numbers for GPUs you own.
- You want this page to find where a feature is documented.

## Do it

1. **Install**

   ```bash
   helm install opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --create-namespace \
     --set ports.state.dsnSecret.name=opod-state --set cell.name=prod
   ```

   See [Install](https://opod.io/docs/control-plane-install/) for the database Secret and the checks before this line.

2. **Open the console**

   ```bash
   kubectl -n opodcp get secret opodcp-admin -o jsonpath='{.data.token}' | base64 -d; echo
   kubectl -n opodcp port-forward svc/opodcp 8080:8080
   ```

   Open `http://127.0.0.1:8080` and sign in with the token.

3. **Create an endpoint**

   On **Endpoints → New**, pick a model from the catalog, press **Preview**, then **Create**. See [Create an endpoint](https://opod.io/docs/control-plane-endpoints/create/).

4. **Call it**

   The endpoint page's **Connect** card prints the URL and a `curl` with a key. Any OpenAI client works.

## Check it worked

```bash
kubectl -n opodcp exec deploy/opodcp -- /opodcp doctor
```

The endpoint page reads `serving` with a proof line, and **Overview** counts it under endpoints serving. Every doctor row is `✔` except `identity`, which stays red until you create a user or connect OIDC.

## If it fails

| Symptom                                     | Where to look                                                                                         |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `helm install` fails                        | [Preflight](https://opod.io/docs/control-plane-install/preflight/)                                    |
| The console shows **Connect your database** | [Setup mode](https://opod.io/docs/control-plane-install/kubernetes/#setup-mode)                       |
| A create is refused with an `E-…` code      | [Troubleshooting → Creating an endpoint](https://opod.io/docs/control-plane-operate/troubleshooting/) |
| A doctor row is red                         | [Doctor](https://opod.io/docs/control-plane-operate/doctor/)                                          |
| A placement is refused `E-LICENCE`          | [Licensing](https://opod.io/docs/control-plane/licensing/)                                            |

## What it is

The control plane (`opodcp`) is one binary with its console built in. You install it with the `opod` Helm chart into the cluster it manages. It runs core's leaders and workers as Kubernetes workloads and keeps them matching the plans you write.

## What it manages

| Area      | What it does                                                                                                                            | Docs                                                                                                                                             |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Capacity  | measures every card through per-vendor probes; keeps a per-GPU VRAM ledger; places dedicated and shared workers against measured memory | [Placement](https://opod.io/docs/control-plane-endpoints/placement/)                                                                             |
| Endpoints | one leader per model, workers and gangs under it, front doors, the cell door                                                            | [Create an endpoint](https://opod.io/docs/control-plane-endpoints/create/)                                                                       |
| Plans     | a versioned desired state per endpoint; every revision kept with its cause                                                              | [The plan](https://opod.io/docs/control-plane-endpoints/plan/)                                                                                   |
| Changes   | every create, edit and rollout is a run with steps, proofs, cancel and give-back                                                        | [Rollouts and runs](https://opod.io/docs/control-plane-endpoints/rollouts/)                                                                      |
| Scaling   | in-flight, queue, KV-pressure and time-to-first-token triggers; engine sleep; scale to zero; KEDA                                       | [Autoscaling](https://opod.io/docs/control-plane-endpoints/autoscaling/)                                                                         |
| Models    | the catalog, user models, versions, approval, signatures, prefetch, LoRA                                                                | [Models](https://opod.io/docs/control-plane-endpoints/models/)                                                                                   |
| Traffic   | admission by worker slots, request classes, fallback, cache isolation, routing by load                                                  | [Routing policy](https://opod.io/docs/control-plane-endpoints/routing/)                                                                          |
| Access    | endpoint API keys, users, roles, OIDC, teams, machine tokens                                                                            | [API keys](https://opod.io/docs/control-plane-endpoints/api-keys/), [Users and SSO](https://opod.io/docs/control-plane-security/authentication/) |
| Machines  | cordon, evacuate, drain, time-slice, cache prune, card reset                                                                            | [Machines](https://opod.io/docs/control-plane-operate/machines/)                                                                                 |
| Usage     | per-request rows and GPU-seconds, exported to your store                                                                                | [Usage](https://opod.io/docs/control-plane-operate/usage/)                                                                                       |
| Health    | `opodcp doctor`, alerts, metrics, logs, traces                                                                                          | [Doctor](https://opod.io/docs/control-plane-operate/doctor/)                                                                                     |
| Audit     | a hash-chained record of every change, evidence exports                                                                                 | [Audit](https://opod.io/docs/control-plane-security/audit/)                                                                                      |

## How it is built

**One endpoint is one leader and one model.** For each endpoint the control plane renders a leader Deployment (core's `opod up`), its Service, its workers (core's `opod join`, one engine each) and, for a model split across GPUs, gangs. A leader is the request path: it routes, admits and authenticates every request. The control plane is never on it. A leader keeps serving from its mounted plan and auth files while the control plane is down or restarting.

**The control plane decides; Kubernetes runs.** The control plane holds the truth in its database: endpoints, plans and their revisions, runs, keys, policies, alerts and the audit chain. Kubernetes objects are its projection. Every object it creates carries `opod.io/cell` and `opod.io/endpoint` labels and has one owner, so running an operation twice is safe.

**Every dependency is a port.** The state store is your Postgres. Every other port (usage sink, event bus, logs, metrics, traces, identity, alerts, secrets, checkpoints, batch files, KV store) runs on an embedded default until you connect your own service on the Connectors page. See [Connectors](https://opod.io/docs/control-plane-operate/connectors/).

### The control loops

One replica runs these loops (with several replicas, the one that holds the Lease; see [High availability](https://opod.io/docs/control-plane-install/high-availability/)). `GET /api/v1/controllers` and the Settings page show each loop's interval, runs, errors and last run.

| Loop                                          | Every                | What it does                                                                                                                                                                                                                                                                  |
| --------------------------------------------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `watch`                                       | 5 s                  | reads the nodes and every endpoint's pods once, turns them into each endpoint's observed status and events, and hands that snapshot to the other loops                                                                                                                        |
| `autoscaler`                                  | 10 s                 | reads each leader's `/loadz` and grows, parks or wakes workers by the plan's policy                                                                                                                                                                                           |
| `reconciler`                                  | 1 min                | converges every endpoint's objects to its stored plan; repairs what drifted. It leaves alone an endpoint whose create is still running, and one whose first deployment failed and was torn down (in `0.3.0` that holds in every state the endpoint reads, not only `pending`) |
| `auth-reissue`                                | 1 min                | keeps each leader's auth snapshot inside its age bound, even when the endpoint's apply keeps failing                                                                                                                                                                          |
| `usage-puller`                                | 15 s                 | pulls each leader's usage stream through its cursor into the spool. From 0.3.0 it pulls only a leader without core's `usage_push`; a newer leader pushes its rows to `POST /otlp/v1/logs`                                                                                     |
| `usage-shipper`                               | 15 s                 | ships the spool to the connected usage sink                                                                                                                                                                                                                                   |
| `meter`                                       | 1 min                | records GPU-seconds each serving worker holds                                                                                                                                                                                                                                 |
| `fleet-sampler`                               | 1 min                | the one-minute sample the Overview plots                                                                                                                                                                                                                                      |
| `telemetry`                                   | 2 min                | keeps one GPU probe DaemonSet per vendor present                                                                                                                                                                                                                              |
| `alerts`                                      | 15 s                 | raises, refreshes and resolves alerts, and sends them to the notifier                                                                                                                                                                                                         |
| `stops`, `gave-up`, `janitor`                 | 30 s, 30 s, 1 min    | finish stops nobody waits on, park a gang its leader gave up on, find objects nobody owns                                                                                                                                                                                     |
| `leader-move`                                 | 15 s                 | moves leaders off nodes that are being evacuated                                                                                                                                                                                                                              |
| `jobs`, `batches`                             | 10 s                 | run and follow training jobs and OpenAI batches                                                                                                                                                                                                                               |
| `kv-sampler`, `kv-tier-auto`, `kv-disk-sweep` | 2 min, 10 min, 5 min | KV cache measurements, `tier: auto` resizing, disk tier clean-up                                                                                                                                                                                                              |
| `audit-retention`, `usage-retention`          | 10 min               | trim by the retention windows                                                                                                                                                                                                                                                 |
| `gpu-daily-files`                             | 1 h                  | a GPU-hours CSV per closed day beside the S3 sink (and the Parquet sink up to 0.3.6)                                                                                                                                                                                          |
| `stream-tickets`                              | 10 min               | removes expired stream tickets                                                                                                                                                                                                                                                |
| `door-routes`, `inference-pools`              | 1 min                | the cell door's routes file, Gateway API InferencePools                                                                                                                                                                                                                       |

`controllers` in the chart (`OPODCP_CONTROLLERS`) can restrict which loops run; leave it empty in production.

**Figure: The request path of one endpoint.** Your app calls the leader, which routes each request to the least loaded live worker. The control plane only writes configuration and is not on the request path. Pick a failure and watch where requests go. The interactive figure is on the web page: <https://opod.io/docs/control-plane/>

## Three ways to drive it

- **The console** at the control plane's URL. See [Console tour](https://opod.io/docs/control-plane-operate/console/).
- **The REST API** under `/api/v1`, with an OpenAPI 3.1 document at `GET /api/v1/openapi.json`. See [API reference](https://opod.io/docs/control-plane-reference/api/).
- **The `opodcp` CLI**, which ships inside the image. See [CLI reference](https://opod.io/docs/control-plane-reference/cli/).

```bash
docker run --rm ghcr.io/opod-io/opodcp:0.3.6 -h
```

## What it is not

- It is not a gateway. Per-user keys, budgets, rate limits and prompt checks belong to the gateway you run in front of an endpoint. See [Gateways in front](https://opod.io/docs/control-plane-endpoints/gateways/).
- It does not price anything. It exports quantities; you apply your price.
- It does not build images or install drivers on your nodes. `opodcp infra` installs k3s on bare machines, and that is all it installs on a host.

* [Install](https://opod.io/docs/control-plane-install/): Kubernetes, bare machines, air-gapped.
* [Licensing](https://opod.io/docs/control-plane/licensing/): Free up to 4 GPUs; keys, grace and burst.
* [Several cells](https://opod.io/docs/control-plane/fleet/): A fleet control plane over many clusters.
