Omnia Kubernetes Adapter
The Omnia adapter is a PromptKit deploy provider that translates compiled prompt packs into Omnia Kubernetes custom resources. It communicates with the Omnia Management API to create, update, and destroy the Kubernetes objects that back a running agent.
Resource mapping
Section titled “Resource mapping”The adapter maps each concept from a compiled pack to one or more Omnia Kubernetes resources:
| Pack concept | Omnia resource | Adapter resource type |
|---|---|---|
| Pack JSON | ConfigMap | configmap |
| Pack identity | PromptPack CRD | prompt_pack |
| Agent | AgentRuntime CRD | agent_runtime |
| Tools | ToolRegistry CRD | tool_registry |
| Tool blocklist | AgentPolicy CRD | agent_policy |
Key features
Section titled “Key features”- Single and multi-agent packs — single-agent packs produce one AgentRuntime; multi-agent packs produce one per agent with shared PromptPack and ToolRegistry resources.
- Dry-run mode — preview every resource the adapter would create or update, without making API calls.
- Managed resource labels — every resource is labelled with
app.kubernetes.io/managed-by, pack ID, pack version, and resource type for reliable ownership tracking. - Tool registry — pack tool definitions are projected into a ToolRegistry CRD so the Omnia runtime can discover them at startup.
- Agent policy — tool blocklists defined in the pack are enforced via an AgentPolicy CRD.
- Create/update diffing — when prior state exists, the adapter diffs desired resources against the previous deployment and emits create, update, or delete actions accordingly.
Quick start
Section titled “Quick start”Add an omnia deploy provider to your arena configuration:
deploy: provider: omnia config: api_endpoint: "https://omnia.example.com" workspace: "my-workspace" providers: default: claude-prodSet the API token via environment variable:
export OMNIA_API_TOKEN="your-token-here"Then use PromptArena to plan and apply:
promptarena deploy planpromptarena deploy applyHow it works
Section titled “How it works”- PromptArena compiles the pack and passes the JSON to the adapter.
- The adapter parses the pack, builds Kubernetes resource payloads, and resolves provider mappings.
- Resources are applied in dependency order through the Omnia Management API.
- The API creates or updates the corresponding Kubernetes objects in the target workspace.
Next steps
Section titled “Next steps”- First Omnia Deployment — deploy a single-agent pack step by step.
- Multi-Agent Deployment — deploy a pack with multiple agents.
- Configure the Adapter — full reference for all configuration options.
- Resource Lifecycle — understand the apply and destroy ordering.
- Configuration Reference — JSON Schema and field-by-field documentation.