First Omnia Deployment
This tutorial walks through deploying a single-agent prompt pack to an Omnia cluster. By the end you will have a running AgentRuntime backed by your compiled pack.
Prerequisites
Section titled “Prerequisites”- Access to an Omnia cluster with a configured workspace
- An API token with permission to create resources in the workspace
- The PromptArena CLI installed (
promptarenain your PATH) - A compiled prompt pack (the output of
promptarena buildorpackc)
Step 1: Configure the deploy provider
Section titled “Step 1: Configure the deploy provider”Create or update your arena.yaml to include the Omnia deploy configuration:
deploy: provider: omnia config: api_endpoint: "https://omnia.example.com" workspace: "dev-workspace" providers: default: claude-sonnet-4-20250514 runtime: replicas: 1 cpu: "500m" memory: "512Mi" labels: team: platform environment: stagingRequired fields
Section titled “Required fields”| Field | Description |
|---|---|
api_endpoint | Base URL of the Omnia Management API |
workspace | Target workspace name (must match the pattern ^[a-z0-9][a-z0-9-]*[a-z0-9]$) |
providers | Map of Arena provider names to Omnia Provider CRD names. At minimum, include a default entry. |
Authentication
Section titled “Authentication”Set the API token via environment variable:
export OMNIA_API_TOKEN="your-token-here"You can also set it directly in the config as api_token, but the environment variable is recommended to avoid committing secrets.
Step 2: Plan the deployment
Section titled “Step 2: Plan the deployment”Run the plan command to preview what resources will be created:
promptarena deploy planExpected output for a single-agent pack with tools:
Plan: 4 to create, 0 to update, 0 to delete + configmap my-pack-packdata Create ConfigMap with pack data for my-pack + prompt_pack my-pack Create PromptPack for my-pack + tool_registry my-pack-tools Create ToolRegistry with 3 tools + agent_runtime my-pack Create AgentRuntime for my-packReview the output to confirm the resources match your expectations.
Step 3: Apply the deployment
Section titled “Step 3: Apply the deployment”Apply the plan to create the resources:
promptarena deploy applyThe adapter creates resources in dependency order:
- ConfigMap — stores the raw pack JSON
- PromptPack — references the ConfigMap and sets the provider
- ToolRegistry — registers pack tool definitions (if the pack defines tools)
- AgentPolicy — enforces tool blocklists (if the pack defines a tool policy)
- AgentRuntime — the running agent, referencing all of the above
Progress events are streamed as each resource is created.
Step 4: Check status
Section titled “Step 4: Check status”Verify that all resources are healthy:
promptarena deploy statusA healthy deployment shows deployed as the aggregate status with each resource reporting healthy:
Status: deployed configmap my-pack-packdata healthy prompt_pack my-pack healthy tool_registry my-pack-tools healthy agent_runtime my-pack healthyIf any resource reports missing or unhealthy, check the Omnia dashboard for details.
Step 5: Destroy (optional)
Section titled “Step 5: Destroy (optional)”To tear down the deployment and remove all created resources:
promptarena deploy destroyResources are deleted in reverse dependency order (AgentRuntime first, ConfigMap last) to avoid orphaned references.
Next steps
Section titled “Next steps”- Multi-Agent Deployment — deploy a pack with multiple agents.
- Use Dry-Run Mode — preview deployments without making API calls.
- Resource Labels — customize labels on deployed resources.