Self-hosted reference

How a tenant is laid out

Your environment, one tenant
├── Arena control plane   CPU nodes: API, workers, Postgres, Pulsar, OpenObserve
├── GPU cluster           the tenant's reserved GPUs, with the BYOC agent
├── Object store          any S3-compatible bucket
└── Registry              images mirrored from the release bundle

Your backend ──HTTPS──▶ tenant API

The control plane and the GPU cluster can be in the same Kubernetes cluster or in two clusters on the same network. Tenants share nothing with each other.

Requirements

Item

Requirement

Control plane cluster

Kubernetes 1.28+, an ingress controller, a default StorageClass

Control plane capacity per tenant

1.96 vCPU and 4.14 GiB memory requested (Sizing), and 40 GiB of persistent volumes: Postgres 20 GiB, Pulsar 10 GiB and OpenObserve 10 GiB

GPU cluster

Kubernetes 1.28+, NVIDIA GPU Operator or device plugin, nodes labelled for each tenant, and a node with at least 20 GiB of memory, no GPUs and no NoSchedule or NoExecute taint for training jobs’ Ray heads (a separate CPU worker node is recommended; an untainted control-plane node also counts)

GPUs

Any NVIDIA GPU in the supported list; at least 2 per run for reinforcement learning that generates rollouts

Object store

S3-compatible API with path-style or virtual-host addressing, one bucket per tenant

Registry

OCI registry reachable from both clusters

DNS and TLS

One name per tenant for the API, and a wildcard under it for deployments (*.arena.tenant-a.internal)

Operator machine

kubectl, Helm 3, docker (for docker login), wget and sha256sum (on macOS shasum), crane on macOS (the bundle carries the Linux build), the AWS CLI for copying models and backups, and jq for backups

Supported hardware

Training and serving run on NVIDIA GPUs, so every tenant needs real NVIDIA GPUs. The control plane needs none: it runs on ordinary CPU nodes and requests 1.96 vCPU and 4.14 GiB of memory per tenant, plus 0.25 vCPU and 512 MiB while the install and upgrade Jobs run (Sizing).

Arena supports the NVIDIA GPUs in its GPU catalogue that have compute capability 8.0 or newer (Ampere and later), on amd64 or arm64 hosts. Training needs that capability for bf16 and FlashAttention 2, and Arena sizes every run from the catalogue’s figures for the GPU. The bundle contains amd64 and arm64 images, and Kubernetes picks the right one.

Architecture

GPUs

Blackwell

GB300 (arm64 Grace host), B300, B200, RTX PRO 6000 Blackwell Server Edition, RTX 6000 Blackwell Server Edition

Hopper

H200, H100 80GB

Ada Lovelace

L40S, L4, RTX 6000 Ada Generation

Ampere

A100 80GB, A100 40GB, A10G

Reinforcement learning that generates its own rollouts (GRPO, CISPO, GSPO, LLM PPO and LLM REINFORCE on a language environment) needs at least 2 GPUs per run: one trains and one runs vLLM to generate. Submit refuses fewer, and /resources lists no smaller count for these algorithms. SFT and DPO train on one GPU.

Rollout RL also needs the two GPUs to read each other’s memory directly, over NVLink or PCIe peer-to-peer. On release 4.8 (ML bundle 60.0), a run on GPUs without it fails a few minutes after it starts, with LoRA sync needs NVLink or PCIe P2P in its driver log. AWS L4 (g6), L40S (g6e) and A10G (g5) instances don’t offer peer-to-peer, so on those, run SFT and DPO only until a release with the fallback weight sync. Submit doesn’t check this yet.

Tested with the self-hosted install so far (November 2026): SFT on NVIDIA L4 on AWS, on a 4-GPU g6.12xlarge node. GRPO on the same node failed for lack of peer-to-peer, as above. The other GPUs are sized from the catalogue but haven’t yet run a tenant job. The examples in these pages use B300 nodes.

Values

Install the chart as release arena. Tenant keys go under arena-platform: in the values file; the bundled dependencies take the top-level keys in the second table. Defaults are in values.yaml inside the chart, and values-example-tenant.yaml in the bundle is a starting point. The example also carries release pins that this table doesn’t list: appVersion, image.repository, images.* with their digests, onPrem.image.tag, onPrem.provisioner.image.tag and the validator tags under onPrem.images. Keep them as the release sets them. Some name AgileRL’s registry (for example onPrem.images.trainImage); image.registryOverride rewrites that host to your mirror, so nothing pulls from AgileRL.

Under arena-platform::

Key

Required

Description

tenant

yes

Tenant name. Used for the organisation.

domain

yes

DNS name of the tenant API. Deployments get names under it, and the GPU cluster calls the API at https://<domain>.

image.registryOverride

yes

Registry the bundle was mirrored to. Replaces the registry of every image the tenant runs, including the bundled Postgres and Pulsar and the images Arena starts on the GPU cluster.

image.pullSecrets

no

Image pull Secrets for the registry.

storage.endpoint

yes

Object store URL.

storage.bucket

yes

Tenant bucket.

storage.prefix

no

Path inside the bucket for the control plane’s objects. Default platform. The GPU cluster keeps its datasets, models, checkpoints and logs under clusters/<gpuCluster.name>/ in the same bucket, whatever this is set to.

storage.region

no

Region name the store expects. Default us-east-1.

storage.pathStyle

no

Path-style addressing. Default true.

storage.existingSecret

yes

Secret with accessKeyId and secretAccessKey. A Secret with the same name must exist in the agent namespace on the GPU cluster (step 3).

storage.modelStore.bucket

no

Bucket GPU workers prefetch base model weights from before a job starts. A Hugging Face id org/name is read from <bucket>/<prefix>/org/name/. Default: storage.bucket. The GPU cluster’s store Secret must be able to read this bucket. Used only with storage.existingSecret.

storage.modelStore.prefix

no

Path inside storage.modelStore.bucket that holds the org/name/ directories. No default: the directories sit at the top of the bucket.

postgres.bundled

no

Run Postgres in the namespace. Default true.

postgres.external.host, .port, .database, .existingSecret

if not bundled

External Postgres. The Secret holds username and password.

ingress.className

yes

Ingress class for the API and deployments.

tls.existingSecret

yes

TLS Secret for domain and *.domain. A TLS Secret with the same name serves deployments from the agent namespace.

tls.caBundle

no

PEM CA bundle, for private CAs. The control plane, the agent and its validators, and training and inference pods trust it for the API and S3. Each CA needs key usage keyCertSign, and each certificate it signs needs an authority key identifier.

gpuCluster.name

yes

Name for the tenant’s GPU cluster.

gpuCluster.nodeSelector

yes

Labels selecting the tenant’s GPU nodes. Every resource class and the agent’s pods use it.

gpuCluster.tolerations

no

Tolerations for the agent’s pods. Training and inference pods don’t get them.

gpuCluster.gpuType

yes, for GPU classes

GPU type of the tenant’s nodes, for example nvidia-b300. Used by every class that doesn’t set its own gpuType.

gpuCluster.classes

no

Resources the tenant trains and deploys on. Each entry has name, gpusPerNode, numNodes, cpu, memoryGib and optionally gpuType; the figures are per node. Default: one class gpu-1x1 (1 GPU, 1 node, 6 CPUs, 28 GiB).

onPrem.images.trainImage, onPrem.images.inferenceTag

yes, from values-example-tenant.yaml

The training image and the inference image tag of the release’s ML bundle. Both images are in the bundle; image.registryOverride points the GPU cluster at your mirror. Copy them from the example of the release you install, and again on every upgrade. Without trainImage, bootstrap creates no resource classes and the install fails.

resources.<component>

no

Override requests and limits per component, for example resources.api, resources.bootstrap.

doctor.allowlist

no

Extra hosts the self-check accepts, for an external Pulsar or OpenObserve.

bootstrap.rotateKey

no

Mint a new API key on this upgrade. Default false. Set it back afterwards.

bootstrap.revokeOld

no

With rotateKey, end the old key at once. Default false.

byocFee.trainingUsdPerRunHour

no

Platform fee in USD for each hour a training run runs on the tenant’s GPU cluster, whatever its node count. It is debited from the organisation’s wallet with the run’s other costs. Default "2.0"; "0" charges nothing. Quote the value. A run keeps the rate it started with, so a change applies to runs started afterwards.

byocFee.inferenceUsdPerDeploymentHour

no

Platform fee in USD for each hour a deployment is up on the tenant’s GPU cluster, whatever its node count. Default "1.0"; "0" charges nothing. Quote the value. A deployment keeps the rate it had when it last started.

restore

no

Skip bootstrap, for restores. Default false.

With postgres.bundled: false, the postgres.external.* values replace the bundled database for the API, the workers and the migration Job. postgres.external.database defaults to arena, and postgres.external.port to 5432. Give an external Postgres a max_connections of at least 300, as the bundled one has: during an upgrade the old and new pods run together and can open up to 242 connections.

Top level:

Key

Default

Description

openobserve.image.oss.repository

public.ecr.aws/zinclabs/openobserve

Set to the mirrored repository, for example registry.internal/arena/zinclabs/openobserve.

pulsar.service.type, openobserve.service.type

ClusterIP

LoadBalancer or NodePort when the GPU cluster is a separate Kubernetes cluster (Network).

pulsar.advertisedAddress

empty

For a separate GPU cluster: a name both clusters resolve to the Pulsar Service.

postgres.persistence.size, .storageClass

20Gi, cluster default

Bundled Postgres volume.

postgres.maxConnections

300

Bundled Postgres connection limit.

pulsar.persistence.size, openobserve.persistence.size

10Gi

Bundled Pulsar and OpenObserve volumes.

Commands

Operator commands run in the API pod: kubectl -n <namespace> exec deploy/arena-api -- /usr/app/arena-cli ….

Command

Does

task doctor_outbound [allowlist:<file>] [list:true] [gpu_cluster_down:warn]

Checks every dependency; fails if any configured endpoint is outside the tenant, or if a GPU cluster’s agent reports an error or has stopped reporting. With gpu_cluster_down:warn an agent that has stopped reporting is a warning instead. Default allowlist config/outbound-allowlist.txt; the chart’s is in ConfigMap arena-doctor-allowlist

task clusters_status

GPU cluster state, GPUs, agent version, time since the agent’s last contact, running and queued jobs

task smoke model:<name> [gpu_type:<type>] [steps:<n>] [deploy:true] [timeout_secs:<n>]

End-to-end test through the partner API with its own key, which expires within 24 hours: dataset, SFT with LoRA (20 steps by default), checkpoint, metrics, export with sha256 checks, resume and stop, plus a deployment with deploy:true. gpu_type is one of the tenant’s GPU types, as the API lists them (for example b300); without it, submit picks. timeout_secs is the longest wait for training, the export, the stop or the deployment (default 3600). Removes what it created, also after Ctrl-C or SIGTERM, and exits non-zero if a step fails

task register_model name:<n> path:<s3 uri> [base:<hub id>]

Adds a base model from the tenant bucket

task unregister_model name:<n>

Removes a base model from the list

The chart runs two Jobs after every install and upgrade:

Job

Runs

Notes

arena-bootstrap

task install_bootstrap

Creates the organisation, API key, cluster registration and resource classes. The cluster can serve the models it trains. Safe to repeat. Every run writes the release’s agent and validator images into arena-agent-values. Key rotation is the bootstrap.rotateKey value. Skipped with restore: true.

arena-doctor

task doctor_outbound with the chart’s allowlist and gpu_cluster_down:warn

A failure fails the install or upgrade. A GPU cluster whose agent has stopped reporting is a warning.

Secrets

Created by the install in the tenant namespace:

Secret

Holds

arena-partner-key

The tenant’s API key (key)

arena-agent-values

Agent chart values (values.yaml) and the agent’s cluster token (cluster-token). The values include the token of the OpenObserve user arena-otlp-ingest@arena.local, which the agent adds to training metrics and logs. That token is an admin credential on OpenObserve gRPC port 5081, and that port should not be exposed beyond the agent.

arena-secrets-key

Encryption key for organisation secrets. Back it up; without it, stored secrets can’t be read after a restore.

arena-postgres

Bundled Postgres username and password

arena-openobserve-root

OpenObserve root user

arena-o2-runtime

The API’s credentials for OpenObserve

arena-secrets-key, arena-postgres, arena-openobserve-root and arena-o2-runtime are generated on first install, read back on every upgrade and kept on uninstall. If you manage tenants with Argo CD or helm template, create these four before the first sync: generation reads the cluster, which a template render can’t, and the chart leaves alone a Secret with one of these names that it didn’t create.

Created by you:

Secret

Namespace

Holds

Store Secret (storage.existingSecret)

tenant

accessKeyId, secretAccessKey

Store Secret, same name

agent, on the GPU cluster

AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, endpoint, AWS_ENDPOINT_URL, APP_AWS_CLIENT_ENDPOINT

TLS Secret (tls.existingSecret)

tenant, and the same name in the agent namespace

Certificate for domain and *.domain

cluster-token

agent

cluster-token from arena-agent-values

Network

All traffic stays inside your environment. These are the connections a tenant makes:

From

To

Port

Purpose

Your backend

API (domain)

443

Partner API

Your backend

Deployments (*.domain)

443

Inference

Agent

API (domain)

443

Desired state, status

API

OpenObserve

5080

Metric and log queries

Training pods on their own broker

Their job’s Ray head

6650

That job’s message broker

Training pods on their own broker

Agent (API relay)

443

Job commands and metric names

Training pods without their own broker

Pulsar

6650

The bundled broker the job still connects to. Nothing reads it: a stop is a Ray job stop, and metric names are not recorded

Training pods

Agent (arena-egress)

443

Metrics and logs (OTLP gRPC)

Agent

OpenObserve

5081

Training metrics and logs, sent with the ingest user’s token

Training and inference pods, API

Object store

443

Datasets, models, checkpoints

Both clusters

Registry

443

Images

Pulsar’s admin port (8080) stays inside the control plane namespace. The token in the agent values is an admin credential on OpenObserve gRPC port 5081, and that port should not be exposed beyond the agent.

When the GPU cluster is a separate Kubernetes cluster, expose Pulsar and OpenObserve to it with pulsar.service.type and openobserve.service.type (LoadBalancer or NodePort), and set pulsar.advertisedAddress to a name both clusters resolve: Pulsar clients connect to the address the broker returns, not the one they first dialled. In a single cluster, no extra exposure is needed.

Sizing

Requests per tenant control plane, with the bundled databases:

Component

CPU

Memory

API

0.2

768 MiB

Worker

0.1

128 MiB

Cron scheduler

0.1

256 MiB

Storage service

0.05

64 MiB

Model memory planner

0.2

384 MiB

Pulsar standalone (heap 512 MiB) and its bootstrap sidecar

0.51

1040 MiB

OpenObserve

0.25

512 MiB

Postgres

0.5

1 GiB

Total

1.91

4.08 GiB

These are the chart’s default requests. An idle tenant uses about 0.2 vCPU and 2 GiB. The install and upgrade Jobs add 0.25 vCPU and 512 MiB while they run. Every pod sets requests and limits; the defaults are in the chart’s values.yaml. Change them per component with arena-platform.resources.<component>, and for Postgres, Pulsar and OpenObserve with postgres.resources, pulsar.resources and openobserve.resources.

The GPU cluster runs the BYOC agent and its environment and reward function validators, which request about 0.4 vCPU and 1.6 GiB together, plus the pods of running jobs and deployments. Every validation of the tenant’s environments, reward functions, datasets and models runs in those validators, next to the tenant’s data.

Supported models

The catalogue of models a tenant can register, and how to print it, is in Base models.

Errors

The API’s error codes and what to do about each are in Troubleshooting.

Data kept by a tenant

Data

Where

Organisations, users, experiments, deployments, keys, registered models

Tenant Postgres

Datasets, base models, checkpoints, exported metrics

Tenant bucket

Live metrics and logs

Tenant OpenObserve

Job commands

Tenant Postgres

Nothing is stored or sent anywhere else.