Skip to content
Opod

Design decisions

Install, images and rollouts

Why the chart installs no service pods, why the database is the one thing you provide, why one deployer serves every target, and why images are pinned and changes are proven.

These decisions decide what you install, what runs on your nodes, and how a change reaches a serving endpoint.

No service pods: every dependency is a port

The decision. helm install opodcp installs the control plane (one Deployment, with the console built into the binary), a preflight Job and RBAC. The control plane then creates its own per-vendor GPU probes. The chart installs no database, event bus, metrics stack, identity provider or registry. Every dependency is a port: a built-in default, plus an adapter you point at a service you already run.

PortBuilt inYours, when you connect it
Eventsin-memory fan-out with a journal in the databaseNATS
Metrics/metrics for Prometheus to scrapean OTLP push to your collector, beside /metrics
LogsJSON on stdoutOTLP or Splunk HEC
Tracesnonean OTLP collector the leaders export to
Identitylocal users, a bootstrap admin from a Secretany OIDC provider
SecretsKubernetes SecretsVault KV v2
Usagea buffer table in the database (why only a buffer)ClickHouse, Postgres or S3 (Parquet objects)
Imagespulled from ghcr.ioyour registry mirror

The database is the one exception. The control plane's only durable store is your Postgres. There is no volume of ours on any node. With no database, or one that does not answer, the control plane starts in setup mode: the console serves and asks for one, running endpoints keep serving, and creating an endpoint is refused with that sentence. Connector settings live in the database, and their credentials are sealed with the install key. A reinstall anywhere is helm install with the database address and the key; every connector comes back.

Why. A platform team already runs Postgres, Prometheus and an identity provider, and does not want a second copy of each inside a vendor's chart. A bundled database on a node volume is also how state gets lost: one re-imaged node and it is gone.

What it gives you. An install that starts in minutes and is usable at once, a control plane pod that is stateless, and telemetry that never blocks: with no sink connected the control plane installs, serves and buffers, and opodcp doctor says, per port, whether it is built in or connected.

What it costs.

  • You must provide a Postgres. For a trial, ha.postgres.provide=true lets the chart run a CloudNativePG one, by your explicit choice.
  • Lose the install key and you lose the stored connector credentials (not the data). Keep a copy of the Secret opodcp-install-key; your cluster's Secret encryption (a KMS key on EKS, GKE or AKS) protects it at rest.
  • One replica is the default. If its node dies, Kubernetes waits about 5 minutes before it reschedules the pod. Leaders serve meanwhile; changes wait. More replicas are optional (High availability).

See Connectors.

One deployer for every target

The decision. EKS, GKE, AKS and bare metal get the same opodcp binary, the same chart and the same render. They differ only by Helm values and preflight rows. A cloud adapter (cloud.provider) may add preflight rows and defaults: registry, storage, workload-identity hints, node provisioning. It may never change how objects are rendered, the executor or the ledger.

Why. The day "if this is AWS" reaches the render code, there are three products to test instead of one.

What it gives you. One install guide, one upgrade path, and a proof on one target that holds on the others. Creating the cluster is ours only on bare metal (opodcp infra up, which installs k3s); on a managed cloud the cluster is yours, and opod starts at opodcp preflight.

What it costs. Cloud-specific shortcuts are not taken. onprem adds no provider-specific behaviour. From 0.3.0 the aws, gcp and azure adapters add only defaults and preflight rows: a storage class, a registry mirror, a workload-identity hint and their cloud.<provider>.* rows. They are built and not yet proven on a real EKS, GKE or AKS cluster. GKE Autopilot is not supported: workers keep weights in a hostPath cache and the probes read the host driver tree.

See Choose an install path and Preflight.

Images are pinned by digest, signed, and never built on your nodes

The decision. Every leader and worker runs an image pinned by digest (repo@sha256:…). The control plane resolves the digest when a plan is written and re-resolves it only in a rollout. Images are built upstream: per-vendor engine images from the official vendor base plus a thin opod layer. Nothing is compiled on a cluster node. The control plane verifies each pinned image's cosign signature offline (images.verify: warn by default, enforce to refuse).

Why. A rolling tag means a pod restarted at 3 a.m. may run a build nobody tested. A build on a customer node means unknown compilers on machines that hold real data.

What it gives you. "Which build is this endpoint on?" has one answer, in the plan. An autoscale step, a drift repair or a control-plane restart never moves an endpoint to a newer build. A tampered image is detectable.

What it costs. A security patch reaches an endpoint only through a rollout, not by itself. A private registry or mirror needs a pull Secret (imagePullSecrets), which the control plane also uses to resolve digests and check signatures; without it the signature reads unknown.

See Supply chain.

Changes are verified rollouts, and every run gives back what it took

The decision. A change to a serving endpoint runs as a saga: a fixed list of steps, each with a proof, and one compensation. The steps are validate → prefetch → apply → converge → probe → fabric proof → smoke → canary → eval → promote. Every step is written to a journal before the next one runs. A failed step restores the previous plan revision. A control plane that restarts mid-run resumes it at the first step that has not passed.

Why. "Applied" is not "serving". A new engine flag can make a pod Ready and still fail on the first real request. A rollout that does not prove the change only moves the failure to your users.

What it gives you.

  • A change is proven with a real request before it is promoted, and an optional canary is judged against its siblings from real usage.
  • An endpoint parked at zero is woken for its rollout and proven, then handed back.
  • Every run (a create, a rollout, a scale, a delete) records what it takes the moment it takes it, and a run that ends without success gives it back, newest first. A half-formed gang does not keep a card.

What it costs. A rollout takes minutes, not seconds: converge has an 8-minute budget, and a large model can use much of it. Rolling a parked endpoint pays its wake in GPU time. A pod template change waits for a rollout; it never rides a helm upgrade by itself.

A verified rollout, step by step

Every control replays the run; dashed outlines show what will happen

Canary: judged good (siblings 0.5 %; illustrative judge: worse = more than double, under 30 requests = no verdict) · Eval: passes minScore 0.82

run.state: —
Each step records a proof the moment it passes. Only one rollout, rollback, create or edit runs on an endpoint at a time (E-RUN-ACTIVE).
passedrunning / holdingfailed · ↩ n = given back, in orderskipped (nothing to do)

See Rollouts and runs.

Last updated · Source: content/docs/design/install-and-delivery.mdx · View as Markdown