Supported operator stack
This page maps each external service that alquimia-runtime, alquimia-core, and Studio depend on to an OpenShift operator with commercial support. Install them all from OperatorHub (OLM). For the order in which to install them and example custom resources, see Deploy with operators.
Support legend. Red Hat: built and supported by Red Hat. Certified partner: a Red Hat certified operator, supported by its vendor. Alquimia: manifests that ship with Alquimia, supported by Alquimia.
Bill of materials
Section titled “Bill of materials”| Alquimia needs | Used by | Operator | Support | Required? |
|---|---|---|---|---|
| Kafka 3.x (KRaft) | Runtime master and workers | Streams for Apache Kafka (Strimzi-based) | Red Hat | Required |
| PostgreSQL 16+ | Runtime, TrustLens | EDB Postgres for Kubernetes or Crunchy Postgres for Kubernetes | Certified partner | Required |
| Redis 7 | Runtime master and workers | Redis Enterprise Operator | Certified partner | Required |
| Qdrant | Runtime master | Qdrant Private Cloud (Qdrant’s Kubernetes operator) | Partner (Qdrant) | Required when ALQUIMIA_KNOWLEDGE_PROVIDER=qdrant (default) |
| S3-compatible object store | Runtime (blobs, registry backup) | OpenShift Data Foundation (Multicloud Object Gateway or Ceph RGW) | Red Hat | Required |
| OCI registry | Runtime, core, Studio | Red Hat Quay | Red Hat | Required for agentspace and Boltzmann brain distribution |
| HashiCorp Vault | Runtime, core, TrustLens | Vault Enterprise (Helm) plus Vault Secrets Operator | Certified partner (HashiCorp) | Required |
| OIDC identity provider | Runtime, Studio | Red Hat build of Keycloak | Red Hat | Required for AUTH_PROVIDER=keycloak |
| MongoDB | Studio (DB_STRATEGY=mongo) | MongoDB Enterprise Kubernetes Operator | Certified partner (MongoDB) | Required for Studio in production |
| SPIFFE workload identity | Runtime master and workers | Zero Trust Workload Identity Manager, or the runtime’s spire-openshift manifests | Red Hat, or Alquimia | Recommended |
| TLS certificates | All | cert-manager Operator for Red Hat OpenShift | Red Hat | Recommended |
| GitOps delivery | All | Red Hat OpenShift GitOps (Argo CD) | Red Hat | Recommended |
| Telemetry pipeline | Runtime, core, Studio | Red Hat build of OpenTelemetry | Red Hat | Recommended |
| Metrics and alerting | Runtime alerts (PrometheusRule) | User workload monitoring (built into OpenShift) | Red Hat | Recommended |
| Distributed tracing | Runtime, core, Studio | Tempo Operator (distributed tracing platform) | Red Hat | Recommended |
| Logs | All | Red Hat OpenShift Logging with the Loki Operator | Red Hat | Recommended |
| Worker autoscaling | Runtime workers | Custom Metrics Autoscaler (KEDA-based) | Red Hat | Optional |
| Image signing | CI, runtime, core | Red Hat Trusted Artifact Signer (Sigstore) | Red Hat | Recommended |
| Admission policy and scanning | All | Red Hat Advanced Cluster Security | Red Hat | Recommended |
| Backup and restore | All namespaces and PVCs | OADP (OpenShift API for Data Protection) | Red Hat | Recommended |
| Compliance scanning | Cluster | Compliance Operator | Red Hat | Optional |
| Self-hosted LLMs, embeddings, and shields | Runtime workers | Red Hat OpenShift AI (KServe with vLLM) | Red Hat | Optional |
| Multi-cluster management | Fleet | Advanced Cluster Management | Red Hat | Optional |
Messaging: Streams for Apache Kafka
Section titled “Messaging: Streams for Apache Kafka”The runtime’s Kafka manifests in k8s/kafka-config are Strimzi KafkaTopic and KafkaUser custom resources, so Streams for Apache Kafka (Red Hat’s supported Strimzi distribution) runs them unchanged.
- Run a KRaft cluster named
alquimia-defaultwith a TLS listener on 9093,authentication: tls, andauthorization: simple. The shippedKafkaUserACLs and the KEDA trigger assume these. alquimia.eventsneeds 6 partitions and replication factor 3, andalquimia.events.dlqneeds 3 partitions. The partition count caps the number of active workers.- Set the runtime to
KAFKA_SECURITY_PROTOCOL=SSLand mount theKafkaUserclient certificate and the cluster CA throughKAFKA_SSL_CA_FILE,KAFKA_SSL_CERT_FILE, andKAFKA_SSL_KEY_FILE. The base manifests do not mount these files; see the Kafka TLS patch. - Keep
KAFKA_MAX_REQUEST_SIZE(10 MiB by default) at or below the broker’smessage.max.bytes. - Enable the Kafka Exporter in the
Kafkaresource so consumer-group lag shows up in user workload monitoring.
Relational data: PostgreSQL
Section titled “Relational data: PostgreSQL”Red Hat does not ship a supported PostgreSQL operator, so use a certified partner operator. Both options below support HA clusters, continuous backup to S3 with point-in-time recovery, and TLS.
| Option | Basis | Notes |
|---|---|---|
| EDB Postgres for Kubernetes | CloudNativePG | Synchronous replicas, backups to ODF object storage, Pooler (PgBouncer). |
| Crunchy Postgres for Kubernetes | PGO | pgBackRest backups, pgBouncer, rich monitoring. |
- Use PostgreSQL 16 or later with
sslmode=verify-full. - Size
max_connectionsfor(DB_POOL_SIZE + DB_POOL_OVERFLOW) × (1 master + max workers). Put a connection pooler in front of PostgreSQL if workers autoscale. - Use the Vault database secrets engine (
VAULT_POSTGRES_ENABLED=true) for short-lived credentials instead of a static password. - TrustLens needs its own database. Run it in a separate cluster or on a separate role.
State and locks: Redis
Section titled “State and locks: Redis”The runtime keeps in-flight conversation context and the registry’s Redlock in Redis.
- Redis Enterprise Operator (Redis Ltd.) is the certified, vendor-supported option. Turn on replication and zone-aware shard placement.
- If you use Redis as a vector store (
ALQUIMIA_KNOWLEDGE_PROVIDER=redis), the database needs the search module enabled. - Use
rediss://and the Vault-backed credentials path (VAULT_REDIS_ENABLED=true). - The runtime is validated against Redis 7. Validate other Redis-protocol servers, such as Valkey, before you use them in production.
Vectors: Qdrant
Section titled “Vectors: Qdrant”The master uses Qdrant for semantic knowledge search. No Red Hat operator covers Qdrant. Qdrant Private Cloud runs Qdrant clusters on your own OpenShift cluster with vendor support.
- Run at least 3 nodes with a replication factor of 2 or more for each collection.
- Turn on API-key auth and TLS (
QDRANT_URL=https://…,QDRANT_API_KEY, or the Vault path withVAULT_QDRANT_ENABLED=true). - Collections must exist before ingestion, because
alquimia-coredoes not create them. - Set
ALQUIMIA_KNOWLEDGE_PROVIDERexplicitly rather than relying on the default.
Object storage: OpenShift Data Foundation
Section titled “Object storage: OpenShift Data Foundation”The runtime stores blobs and its registry backup in S3, and rclone sidecars sync that registry to workers.
- Create buckets with an
ObjectBucketClaim, using the Multicloud Object Gateway (openshift-storage.noobaa.io) or Ceph RGW storage class. Map the generated credentials toBLOB_S3_*andREGISTRY_S3_BUCKET_NAME. - Keep
BLOB_S3_PROVIDER=Minio. This is rclone’s generic S3-compatible provider name, and it works with ODF. - Turn on bucket versioning or replication for the
registry/prefix. It is the registry’s disaster recovery copy. - ODF also provides the RWO block storage for the master’s
alquimia-registry-s3PVC and for the stateful operators above.
Artifacts and supply chain: Quay, Trusted Artifact Signer, ACS
Section titled “Artifacts and supply chain: Quay, Trusted Artifact Signer, ACS”Agentspaces and Boltzmann brains are distributed as OCI artifacts (ORAS) and verified with cosign. ALQUIMIA_OCI_SIGNATURE_POLICY defaults to required, so a deployment without a working signing setup cannot pull any agentspace.
- Red Hat Quay stores runtime and Studio images, the mirrored
rcloneand SPIRE images, and the agentspace and Boltzmann brain artifacts. SetALQUIMIA_OCI_REGISTRY_DEFAULTto your Quay hostname. Use separate organizations fordev,staging, andproductionagentspaces. - Red Hat Trusted Artifact Signer provides Sigstore keyless signing with your own Fulcio and Rekor. Configure
alquimia-corefor keyless verification withALQUIMIA_OCI_COSIGN_CERT_IDENTITYandALQUIMIA_OCI_COSIGN_CERT_OIDC_ISSUERinstead of distributing a public key. Key-based verification (ALQUIMIA_OCI_COSIGN_PUBKEY) is still available. - Red Hat Advanced Cluster Security enforces image signature, registry, and vulnerability policies at admission. It replaces the Kyverno policies of the vanilla
productionoverlay. Recent OpenShift releases can also verify signatures natively withClusterImagePolicy.
Identity: Red Hat build of Keycloak and SPIFFE
Section titled “Identity: Red Hat build of Keycloak and SPIFFE”-
Red Hat build of Keycloak issues tokens for users (Studio login) and machine callers. The runtime needs
AUTH_PROVIDER=keycloak,KEYCLOAK_SERVER_URL, andKEYCLOAK_REALM, and Studio needsAUTH_KEYCLOAK_ID,AUTH_KEYCLOAK_SECRET, andAUTH_KEYCLOAK_ISSUER. Studio can forward user identity to the runtime withRUNTIME_USER_IDENTITY=exchange(RFC 8693 token exchange); see Studio configuration. -
SPIFFE/SPIRE gives the master, the workers, and each agentspace tier their own workload identity. Agents use it to authenticate to Vault through JWT auth. Red Hat’s Zero Trust Workload Identity Manager is the supported way to run SPIRE on OpenShift. The runtime currently expects:
- the trust domain
alquimia.ai(or the one you configure in your registrations), spire-controller-managerClusterStaticEntryCRDs, which the agentspace provisioner creates,- the Delegated Identity API, with the worker’s SPIFFE ID listed in
authorized_delegates, - the SPIFFE CSI driver at
csi.spiffe.io.
Check that your Zero Trust Workload Identity Manager version exposes all of these. Until it does, use the runtime’s
spire-openshiftoverlay, which Alquimia supports. - the trust domain
Secrets: HashiCorp Vault
Section titled “Secrets: HashiCorp Vault”Vault is a hard dependency: alquimia-core resolves $secretRef values from Vault KV v2, and the runtime uses the Kubernetes, JWT, and database secrets engines.
- Run Vault Enterprise in HA mode (integrated Raft storage, 3 or 5 nodes spread across zones) with auto-unseal from your KMS or HSM.
- Turn on the auth methods the runtime uses:
kubernetes(rolesalquimia-runtime-masterandalquimia-runtime-worker, audiencevault) andjwt(SPIFFE JWT-SVIDs for each agentspace tier). See Vault policies. - Use the Vault Secrets Operator (or External Secrets Operator) to project the few Kubernetes Secrets the manifests still read, such as
alquimia-s3for rclone and the Kafka signing key, so plaintext.secrets/files never leave your workstation.
Observability: OpenTelemetry, monitoring, Tempo, Loki
Section titled “Observability: OpenTelemetry, monitoring, Tempo, Loki”The runtime and Studio push OTLP over HTTP and expose no Prometheus scrape endpoint. Run an OpenTelemetryCollector from the Red Hat build of OpenTelemetry in the alquimia-observability namespace, named otel so the operator labels its pods app.kubernetes.io/name: otel-collector and the shipped allow-otel NetworkPolicy matches them. Have it fan out signals:
- Metrics go to a Prometheus exporter endpoint that user workload monitoring scrapes through a
ServiceMonitor. The runtime’salquimia-secret-auditPrometheusRulethen evaluates against real data. Strip PII attributes withOTEL_EXCLUDED_ATTRIBUTES=session_id,channel_id,user_id. - Traces go to a
TempoStackbacked by ODF object storage. - Logs go to the Loki-based OpenShift Logging stack. The OpenShift Logging collector also picks up container stdout.
Studio’s telemetry starts only when all three of its endpoints are set: OTEL_COLLECTOR_ENDPOINT_TRACES, OTEL_COLLECTOR_ENDPOINT, and OTEL_COLLECTOR_ENDPOINT_LOGS.
Model serving: Red Hat OpenShift AI (optional)
Section titled “Model serving: Red Hat OpenShift AI (optional)”Serving models in the cluster keeps prompts and completions off the public internet and lets you tighten the workers’ 0.0.0.0/0:443 egress rule.
- Deploy LLMs with KServe and the vLLM serving runtime, and register them in Alquimia as OpenAI-compatible models (
vendor: openshift,params.base_urlpointing at the inference service). - Serve embedding models the same way and reference them from
embeddings.yaml. - Host shield classifiers, such as Hugging Face text-classification models, as inference services for content shields.
- OpenShift AI’s Llama Stack distribution can serve as a Llama Stack tool source (
LLAMA_STACK_BASE_URL).