---
title: "Why opod is built this way"
description: "Every major design decision in opod on one screen — what it gives you, what it costs, and the decision record behind it — and the architecture told as a short story."
url: "https://opod.io/docs/design/"
markdown_url: "https://opod.io/docs/design.md"
section: "Design decisions"
last_updated: "2026-10-31"
---

# Why opod is built this way

> Every major design decision in opod on one screen — what it gives you, what it costs, and the decision record behind it — and the architecture told as a short story.

These pages explain **why** opod is built the way it is. Each decision says what it gives you and what it costs. The other sections say how to use it.

## Every decision on one screen

| Decision                                                                                                                                                                 | What it gives you                                     | What it costs                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------- | ----------------------------------------------------- |
| [One leader per endpoint; workers join it](https://opod.io/docs/design/leader-worker/)                                                                                   | A failure stays in one model; routing on live load    | One extra hop; one small pod per endpoint             |
| [Control plane off the request path](https://opod.io/docs/design/leader-worker/#the-request-path-must-not-depend-on-the-control-plane)                                   | Endpoints serve through a control-plane outage        | Changes and embedded scaling wait for it              |
| [Front doors and a cell door](https://opod.io/docs/design/leader-worker/#front-doors-and-the-cell-door)                                                                  | No lost requests on a leader restart; one URL         | Extra door pods; +0.6 ms at p50 through the cell door |
| [Workers named by boot id](https://opod.io/docs/design/leader-worker/#workers-are-disposable-and-named-by-what-they-are)                                                 | A re-created worker is never mistaken for the old one | —                                                     |
| [An embedded, inference-aware autoscaler](https://opod.io/docs/design/autoscaler/)                                                                                       | Scales on queue, KV and TTFT, inside measured VRAM    | Freezes while the control plane is down               |
| [KEDA as an option, per endpoint](https://opod.io/docs/design/autoscaler/#why-keda-as-well)                                                                              | Scaling and wake from zero survive an outage          | One reserved card per endpoint; KEDA must stay up     |
| [Kubernetes is the only executor, never the truth](https://opod.io/docs/design/kubernetes-and-capacity/#kubernetes-is-the-only-executor-and-never-the-truth)             | Healing and gang landing from Kubernetes; one API     | Needs Kubernetes, or k3s from `infra up`              |
| [VRAM measured, never assumed](https://opod.io/docs/design/kubernetes-and-capacity/#vram-is-measured-never-assumed)                                                      | A plan that does not fit is refused before any pod    | Unmeasured cards are allocated whole                  |
| [Dedicated by default, shared by choice](https://opod.io/docs/design/kubernetes-and-capacity/#dedicated-by-default-shared-by-choice)                                     | No noisy neighbour unless you ask                     | A card may sit partly empty                           |
| [Advise, do not refuse](https://opod.io/docs/design/kubernetes-and-capacity/#advise-do-not-refuse)                                                                       | Every shape the engine supports                       | You can build a slow endpoint on purpose              |
| [Identities, not names](https://opod.io/docs/design/kubernetes-and-capacity/#identities-not-names)                                                                       | Never adopts or deletes what is not its own           | Longer object names                                   |
| [Proven per engine and vendor, or refused by name](https://opod.io/docs/design/kubernetes-and-capacity/#every-engine-and-vendor-is-proven-or-refused-by-name)            | No plan that fails at load                            | Untested combinations wait                            |
| [No service pods; every dependency a port](https://opod.io/docs/design/install-and-delivery/#no-service-pods-every-dependency-is-a-port)                                 | Usable at install; uses what you run                  | You provide Postgres                                  |
| [One deployer for every target](https://opod.io/docs/design/install-and-delivery/#one-deployer-for-every-target)                                                         | One chart, one render, everywhere                     | No cloud-specific shortcuts                           |
| [Digest-pinned, signed images, never built on nodes](https://opod.io/docs/design/install-and-delivery/#images-are-pinned-by-digest-signed-and-never-built-on-your-nodes) | One known build per endpoint                          | A patch needs a rollout                               |
| [Verified rollouts that give back what they took](https://opod.io/docs/design/install-and-delivery/#changes-are-verified-rollouts-and-every-run-gives-back-what-it-took) | A change is proven before it is promoted              | Minutes per change                                    |
| [Usage facts, not prices](https://opod.io/docs/design/boundaries/#usage-facts-not-prices)                                                                                | Clean facts for your own pricing                      | No money view                                         |
| [Governance on the gateway's layer](https://opod.io/docs/design/boundaries/#governance-on-its-own-layer-a-gateway-in-front)                                              | A request path with no governance cost                | No per-user limits without a gateway                  |
| [Request content is not logged](https://opod.io/docs/design/boundaries/#request-content-is-not-ours-to-log)                                                              | A smaller privacy surface                             | Prompt logs live in your gateway                      |
| [Core is Apache-2.0 and never knows the control plane](https://opod.io/docs/design/open-core-and-licence/#core-is-open-and-never-knows-the-control-plane-exists)         | Read, run and keep the request path                   | Changes must fit a frozen contract                    |
| [A licence never stops a running endpoint](https://opod.io/docs/design/open-core-and-licence/#a-licence-never-stops-a-running-endpoint)                                  | A lapse can never take traffic down                   | — (no remote revocation, for us)                      |
| [Training is a Job beside endpoints](https://opod.io/docs/design/open-core-and-licence/#training-is-a-job-beside-endpoints)                                              | Idle cards used without double-booking                | Not a training platform                               |

Where a decision changed over time, these pages describe what the code does today.

## The architecture as a short story

You own some GPUs. You want to serve a few open models behind an OpenAI-compatible API, and you do not want a model to fall over because something else did.

So each model gets its own **endpoint**. An endpoint is one **leader**, a small process with no GPU, and the **workers** that join it, each one an inference engine on its cards. The leader is the only thing clients talk to. It checks the key, waits for a free slot, picks the least busy worker and streams the answer. Everything it needs to do that sits in files in its own pod, so it does not need anybody else while it serves.

The **control plane** is the part that decides. It measures every card, keeps a **ledger** of what each worker holds, and refuses a plan that does not fit before anything starts. When you change a plan, it runs a **rollout** that proves the change with a real request before it lets the change stay. When traffic moves, its **autoscaler** adds or parks workers, or hands that job to KEDA when scaling must keep working without it. It does all of this through Kubernetes, which it uses to run things but never to remember what should run.

The control plane is also careful about what it does **not** do. It does not price your usage, log your prompts, or hold per-user budgets: your own systems and your gateway do those. It installs no database of its own: it uses yours. And it never stops what is running because of a licence.

The runtime under all of this, **core**, is open source. You can read it, run it alone with `opod up` and `opod join`, and keep it whatever you decide about the rest.

## Read next

- [The leader/worker pattern](https://opod.io/docs/design/leader-worker/): Why one leader per model, what it costs, and how it compares with a shared router, a mesh or a Service per model.
- [Why our own autoscaler, and KEDA](https://opod.io/docs/design/autoscaler/): Inference signals, VRAM-aware growth, sleep and scale to zero, and when KEDA is the better owner.
- [Kubernetes, capacity and placement](https://opod.io/docs/design/kubernetes-and-capacity/): The executor, the measured ledger, dedicated cards, advice over refusal, identities.
- [Install, images and rollouts](https://opod.io/docs/design/install-and-delivery/): Ports and adapters, one database, one deployer, pinned images, verified changes.
- [What opod leaves to other layers](https://opod.io/docs/design/boundaries/): Prices, per-user governance and prompt logs, and why they are not here.
- [Open core, licence and training](https://opod.io/docs/design/open-core-and-licence/): Apache-2.0 core, a licence that never stops serving, training as a Job.
