---
title: "Quickstart"
description: "Install the control plane on a Kubernetes cluster with GPUs, create an endpoint and send it a chat request."
url: "https://opod.io/docs/get-started/quickstart/"
markdown_url: "https://opod.io/docs/get-started/quickstart.md"
section: "Get started"
last_updated: "2026-10-30"
---

# Quickstart

> Install the control plane on a Kubernetes cluster with GPUs, create an endpoint and send it a chat request.

This page takes you from a Kubernetes cluster with GPUs to a served model. It takes about ten minutes, most of it image pulls.

The control plane is free up to 4 GPUs in total. You need no key and no sign-up. Images and the chart pull from `ghcr.io/opod-io` with no credentials, for `linux/amd64` and `linux/arm64`.

> **Where it runs**
>
> `opodcp` is one Deployment in the `opod` namespace of your cluster. It needs outbound pulls from `ghcr.io` (or your mirror) and from your model source. Nothing outside the cluster connects to it.

## Before you start

- Kubernetes 1.28 or newer, all nodes `Ready`, CoreDNS running
- GPUs that a device plugin advertises (the chart brings the NVIDIA, AMD, Intel and Tenstorrent plugins when they are absent)
- For the published `0.2.1`: a default StorageClass (its state is SQLite on a volume). For `0.3.0`: a Postgres database instead
- `kubectl` and `helm` on your machine

No GPU yet, or bare machines with no Kubernetes? See [Install on bare machines](https://opod.io/docs/control-plane-install/bare-metal/).

1. **Check the cluster**

   The chart runs the same check as a pre-install Job and refuses a half-install. Running it first shows the answer earlier.

   ```bash
   docker run --rm --network host --user "$(id -u):$(id -g)" -v ~/.kube:/kube:ro \
     ghcr.io/opod-io/opodcp:0.3.6 preflight --kubeconfig /kube/config
   ```

   The image runs as uid 65532 by default; `--user` lets it read a kubeconfig that only you can read. Every row marked `✘` is fatal and prints what to do. See [Preflight](https://opod.io/docs/control-plane-install/preflight/).

2. **Install the chart**

   **0.2.1 (published)**

   `0.2.1` keeps its state in embedded SQLite on a volume. It needs a default StorageClass and no database.

   ```bash
   helm install opodcp oci://ghcr.io/opod-io/charts/opodcp --version 0.3.6 \
     -n opodcp --create-namespace --set admin.token=$(openssl rand -hex 16)
   ```

   **0.3.0**

   > **Warning**
   >
   > This release is not published yet. Until it is, `helm install oci://ghcr.io/opod-io/charts/opodcp` with no `--version` installs `0.2.1`, which has no `ports.state.dsnSecret` or `ha.postgres` values and ignores them. Add `--version` with the new release number once it is out. See [Releases](https://opod.io/docs/get-started/releases/).

   The control plane keeps its state in your Postgres and nothing on its own disk. Put the whole DSN in a Secret:

   ```bash
   kubectl create namespace opodcp
   kubectl -n opodcp create secret generic opod-state \
     --from-literal=dsn='postgres://opod:PASSWORD@your-postgres:5432/opodcp'

   helm install opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp \
     --set admin.token=$(openssl rand -hex 16) \
     --set ports.state.dsnSecret.name=opod-state
   ```

   The Secret's key must be `dsn` (`ports.state.dsnSecret.key` changes it). No Postgres for a trial? Replace the `ports.state` flag with `--set ha.postgres.provide=true --set ha.postgres.instances=1`. The chart then installs the CloudNativePG operator and runs one Postgres instance. Do not use that path in production.

3. **Open the console**

   ```bash
   kubectl -n opodcp rollout status deploy/opodcp
   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 the second command printed. Next, create a real user or connect your identity provider: see [Users, roles and SSO](https://opod.io/docs/control-plane-security/authentication/).

4. **Create an endpoint**

   In the console, open **Endpoints → New**. Pick a model from the catalog and leave placement on **Auto**. The control plane picks the engine and the GPU from the VRAM it measured. Press **Preview** to see the choice and the reason for each step, then **Create**.

   Or use the API. Preview first: it creates nothing.

   ```bash
   H="Authorization: Bearer <admin token>"
   BODY='{"name":"chat","model":"qwen2.5-0.5b-gguf","plan":{"placement":"auto","model":{"id":"qwen2.5-0.5b-gguf"},"workers":[],"shardGroups":[]}}'

   curl -s -H "$H" -H 'Content-Type: application/json' \
     -X POST http://127.0.0.1:8080/api/v1/endpoints/preview -d "$BODY" | jq .plan.resolved

   curl -s -H "$H" -H 'Content-Type: application/json' \
     -X POST http://127.0.0.1:8080/api/v1/endpoints -d "$BODY" | jq .id
   ```

5. **Wait for serving**

   ```bash
   curl -s -H "$H" http://127.0.0.1:8080/api/v1/endpoints/<id>/status | jq .phase,.proof
   ```

   The phase moves from `pending` to `converging` to `serving`. **Serving** means the leader produced a first token, not only that a pod is Ready. The `proof` field holds the evidence, for example `first token in 412 ms`.

6. **Send a request**

   Through the control plane's proxy (the console's Playground uses the same route):

   ```bash
   curl -s -H "$H" -H 'Content-Type: application/json' \
     -X POST http://127.0.0.1:8080/api/v1/endpoints/<id>/gateway/v1/chat/completions \
     -d '{"model":"qwen2.5-0.5b-gguf","messages":[{"role":"user","content":"hello"}]}'
   ```

   Your applications call the endpoint directly. Inside the cluster its address is the endpoint's `url` field, for example `http://opodcp-ep-chat.opod.svc:8080`; point an OpenAI SDK at that URL plus `/v1`. Any OpenAI SDK works unchanged. With `endpoints.tls.embedded=true` (off by default) the URL is `https://` and the endpoint page shows the certificate fingerprint to pin.

## Next steps

- **Mint API keys** on the **API keys** page and turn on **Require keys**. See [API keys](https://opod.io/docs/control-plane-endpoints/api-keys/).
- **Reach the endpoint from outside the cluster** with your Gateway or Ingress. See [Network and TLS](https://opod.io/docs/control-plane-security/network-tls/).
- **Connect your services** (usage sink, OIDC, alerts, logs) on the **Connectors** page. See [Connectors](https://opod.io/docs/control-plane-operate/connectors/).
- **More than 4 GPUs?** See [Licensing](https://opod.io/docs/control-plane/licensing/).

## What keeps working when the control plane is down

| With every `opodcp` replica and its database gone                           |                                                                                                                                                      |
| --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Serving, load balancing, API keys                                           | works                                                                                                                                                |
| Scaling out, scaling in and waking from zero with `autoscaler.adapter=keda` | works for dedicated workers; for a gang, park and wake only (`max: 1`), since a second gang is placed by the embedded loop (the release after 0.3.6) |
| Scaling on the embedded autoscaler, shared endpoints, the sleep tier        | frozen at the current size                                                                                                                           |
| New endpoints, plan edits, rollouts                                         | wait for the control plane                                                                                                                           |
