Skip to content

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.

Alquimia needsUsed byOperatorSupportRequired?
Kafka 3.x (KRaft)Runtime master and workersStreams for Apache Kafka (Strimzi-based)Red HatRequired
PostgreSQL 16+Runtime, TrustLensEDB Postgres for Kubernetes or Crunchy Postgres for KubernetesCertified partnerRequired
Redis 7Runtime master and workersRedis Enterprise OperatorCertified partnerRequired
QdrantRuntime masterQdrant Private Cloud (Qdrant’s Kubernetes operator)Partner (Qdrant)Required when ALQUIMIA_KNOWLEDGE_PROVIDER=qdrant (default)
S3-compatible object storeRuntime (blobs, registry backup)OpenShift Data Foundation (Multicloud Object Gateway or Ceph RGW)Red HatRequired
OCI registryRuntime, core, StudioRed Hat QuayRed HatRequired for agentspace and Boltzmann brain distribution
HashiCorp VaultRuntime, core, TrustLensVault Enterprise (Helm) plus Vault Secrets OperatorCertified partner (HashiCorp)Required
OIDC identity providerRuntime, StudioRed Hat build of KeycloakRed HatRequired for AUTH_PROVIDER=keycloak
MongoDBStudio (DB_STRATEGY=mongo)MongoDB Enterprise Kubernetes OperatorCertified partner (MongoDB)Required for Studio in production
SPIFFE workload identityRuntime master and workersZero Trust Workload Identity Manager, or the runtime’s spire-openshift manifestsRed Hat, or AlquimiaRecommended
TLS certificatesAllcert-manager Operator for Red Hat OpenShiftRed HatRecommended
GitOps deliveryAllRed Hat OpenShift GitOps (Argo CD)Red HatRecommended
Telemetry pipelineRuntime, core, StudioRed Hat build of OpenTelemetryRed HatRecommended
Metrics and alertingRuntime alerts (PrometheusRule)User workload monitoring (built into OpenShift)Red HatRecommended
Distributed tracingRuntime, core, StudioTempo Operator (distributed tracing platform)Red HatRecommended
LogsAllRed Hat OpenShift Logging with the Loki OperatorRed HatRecommended
Worker autoscalingRuntime workersCustom Metrics Autoscaler (KEDA-based)Red HatOptional
Image signingCI, runtime, coreRed Hat Trusted Artifact Signer (Sigstore)Red HatRecommended
Admission policy and scanningAllRed Hat Advanced Cluster SecurityRed HatRecommended
Backup and restoreAll namespaces and PVCsOADP (OpenShift API for Data Protection)Red HatRecommended
Compliance scanningClusterCompliance OperatorRed HatOptional
Self-hosted LLMs, embeddings, and shieldsRuntime workersRed Hat OpenShift AI (KServe with vLLM)Red HatOptional
Multi-cluster managementFleetAdvanced Cluster ManagementRed HatOptional

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-default with a TLS listener on 9093, authentication: tls, and authorization: simple. The shipped KafkaUser ACLs and the KEDA trigger assume these.
  • alquimia.events needs 6 partitions and replication factor 3, and alquimia.events.dlq needs 3 partitions. The partition count caps the number of active workers.
  • Set the runtime to KAFKA_SECURITY_PROTOCOL=SSL and mount the KafkaUser client certificate and the cluster CA through KAFKA_SSL_CA_FILE, KAFKA_SSL_CERT_FILE, and KAFKA_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’s message.max.bytes.
  • Enable the Kafka Exporter in the Kafka resource so consumer-group lag shows up in user workload monitoring.

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.

OptionBasisNotes
EDB Postgres for KubernetesCloudNativePGSynchronous replicas, backups to ODF object storage, Pooler (PgBouncer).
Crunchy Postgres for KubernetesPGOpgBackRest backups, pgBouncer, rich monitoring.
  • Use PostgreSQL 16 or later with sslmode=verify-full.
  • Size max_connections for (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.

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.

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 with VAULT_QDRANT_ENABLED=true).
  • Collections must exist before ingestion, because alquimia-core does not create them.
  • Set ALQUIMIA_KNOWLEDGE_PROVIDER explicitly rather than relying on the default.

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 to BLOB_S3_* and REGISTRY_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-s3 PVC 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 rclone and SPIRE images, and the agentspace and Boltzmann brain artifacts. Set ALQUIMIA_OCI_REGISTRY_DEFAULT to your Quay hostname. Use separate organizations for dev, staging, and production agentspaces.
  • Red Hat Trusted Artifact Signer provides Sigstore keyless signing with your own Fulcio and Rekor. Configure alquimia-core for keyless verification with ALQUIMIA_OCI_COSIGN_CERT_IDENTITY and ALQUIMIA_OCI_COSIGN_CERT_OIDC_ISSUER instead 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 production overlay. Recent OpenShift releases can also verify signatures natively with ClusterImagePolicy.

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, and KEYCLOAK_REALM, and Studio needs AUTH_KEYCLOAK_ID, AUTH_KEYCLOAK_SECRET, and AUTH_KEYCLOAK_ISSUER. Studio can forward user identity to the runtime with RUNTIME_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-manager ClusterStaticEntry CRDs, 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-openshift overlay, which Alquimia supports.

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 (roles alquimia-runtime-master and alquimia-runtime-worker, audience vault) and jwt (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-s3 for 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’s alquimia-secret-audit PrometheusRule then evaluates against real data. Strip PII attributes with OTEL_EXCLUDED_ATTRIBUTES=session_id,channel_id,user_id.
  • Traces go to a TempoStack backed 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_url pointing 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).