Skip to content

Kubernetes & OpenShift

For production workloads, Alquimia Platform runs as a Kubernetes workload with separate master and worker deployments. This separates request intake from execution, lets you scale each role independently, and supports Vault-backed dynamic credentials and SPIFFE workload identity.

Ingress / Load balancer
┌─────────────────────────────────────┐
│ alquimia-runtime master replicas │
│ (HTTP API + registry management) │
└─────────────────┬───────────────────┘
│ CloudEvents
┌─────────────────────────────────────┐
│ Kafka / event bus │
└─────────────────┬───────────────────┘
│ CloudEvents
┌─────────────────────────────────────┐
│ alquimia-runtime worker replicas │
│ (agent execution via alquimia-core)│
└─────────────────┬───────────────────┘
┌───────────────────────┼───────────────────────┐
▼ ▼ ▼
PostgreSQL Redis Qdrant
(persistence) (state/cache) (vectors/RAG)
RoleResponsibilityScaling driver
MasterAccepts HTTP requests, manages registry, publishes eventsAPI request rate
WorkerConsumes events and executes agentsInference throughput

Workers are stateless. You can add replicas to increase throughput without changing the master deployment.

The runtime repository provides overlays for different environments:

OverlayUse
DevelopmentVanilla Kubernetes without admission policies.
ProductionHardened overlay with image signature verification and pod security policies.
OpenShift / ROSAUses OpenShift’s built-in security constraints.

Choose the overlay that matches your cluster’s tooling and compliance needs.

  • Use projected service-account tokens and the Kubernetes Vault auth method for runtime services.
  • Use SPIFFE/SPIRE and the JWT Vault auth method for per-agentspace agent identities.
  • Enable image signature verification in production overlays.
  • Store sensitive values in Vault, not in ConfigMaps or environment variables.
  1. Provision a PostgreSQL database, Redis cache, Qdrant vector store, Kafka cluster, and object store.
  2. Set up Vault with the required auth methods, policies, and secrets.
  3. Prepare image-signing verification if using the production overlay.
  4. Create namespace, service accounts, and network policies.
  5. Configure ingress or load balancer for the master API.