storage.mode.
ClickHouse is a logs-store-only backend. The config store supports only
sqlite and postgres. To use ClickHouse for logs, set storage.logsStore.type: clickhouse and keep the config store on SQLite or PostgreSQL — see ClickHouse Logs Store below.When any store uses SQLite the chart deploys a StatefulSet with a PVC. With PostgreSQL only (no SQLite) it deploys a Deployment. Mixing backends (e.g. config=postgres, logs=sqlite) still requires a StatefulSet.
SQLite (Default)
Simplest setup - no external database required. Bifrost runs as a StatefulSet with a persistent volume for the SQLite files.StatefulSet Migration (chart v2.0.0+)
Prior to v2.0.0, SQLite used a Deployment + manual PVC. v2.0.0 moved SQLite to a StatefulSet. If upgrading from an older chart:Embedded PostgreSQL
The chart can deploy a PostgreSQL instance alongside Bifrost. Good for simple production setups where you don’t have an existing database.Ensure the database is created with UTF8 encoding. The embedded PostgreSQL deployment handles this automatically. See PostgreSQL UTF8 Requirement for manual setups.
existingSecret instead of providing a plaintext password. The chart will not create its own secret — both the postgres pod (POSTGRES_PASSWORD) and the Bifrost pod (BIFROST_POSTGRES_PASSWORD) mount the password directly from your secret.
External PostgreSQL
Point Bifrost at an existing PostgreSQL instance - RDS, Cloud SQL, Azure Database, or self-managed.passwordCommand instead of existingSecret:
Separate PostgreSQL for Logs
By default the chart points both stores at the same PostgreSQL connection. Setstorage.logsStore.postgres.enabled: true to give the logs store its own external PostgreSQL instance while the config store keeps using the top-level postgresql connection.
Use this when config and logs have different scaling or cost profiles: a small highly-available database for configuration, and a separate instance sized for log write throughput so log traffic never competes with config reads.
This applies only when the logs store resolves to
postgres. When storage.logsStore.postgres.enabled is false (the default), every logs-store connection setting falls back to the shared postgresql connection and behavior is unchanged. The whole postgres block is absent from the shipped values.yaml, so when you enable it, set each field you need explicitly. There are no per-field defaults apart from passwordKey.passwordCommand instead of existingSecret:
Mixed Backend (Config = Postgres, Logs = SQLite)
Run the config store on PostgreSQL (fast lookups, shared across replicas) while keeping logs on SQLite (simpler, cheaper for append-heavy workloads).In mixed mode, Bifrost deploys a StatefulSet (because SQLite is in use) with both a PostgreSQL connection and a local PVC for the SQLite log store.
statementTimeout and idleInTransactionSessionTimeout are Go duration strings (default 120s) that Bifrost sets on every runtime pool connection, so a runaway query or an abandoned transaction cannot hold a connection and its locks indefinitely. Set "0" to keep the PostgreSQL server default. Migrations and background index builds are never bound by statementTimeout.
ClickHouse Logs Store
ClickHouse is a column-oriented backend for the logs store, built for high-volume log ingestion and fast analytical queries at scale. Setstorage.logsStore.type: clickhouse and provide a storage.logsStore.clickhouse block. The config store stays on SQLite or PostgreSQL.
ClickHouse applies to the logs store only.
storage.configStore.type must remain sqlite or postgres. The chart does not deploy ClickHouse for you — point Bifrost at an existing ClickHouse instance (self-managed or ClickHouse Cloud).With ClickHouse, the table TTL comes from
logs_store.retention_days, which the chart does not expose yet. Set it in config.json directly if you need ClickHouse to expire rows on its own. Background log cleanup is controlled separately by bifrost.client.logRetentionDays. The PostgreSQL-only matviewRefreshInterval and matviewRefreshTimeout settings have no effect on ClickHouse.The ClickHouse user needs DDL rights and read access to a few
system tables. See Required privileges for the exact grants.Object Storage for Logs
Offload large request/response payloads from the database to S3, GCS, or Azure Blob Storage. The DB retains only lightweight index records; payloads are fetched on demand.AWS S3
Required IAM permissions The IAM user or role needs the following permissions on your bucket:storage.logsStore.objectStorageExcludeFields keeps selected LLM log payload fields in Postgres while still offloading the rest to object storage. Use DB payload field names such as output_message, input_history, raw_request, or raw_response. MCP logs always offload the full tool log and keep dashboard/table fields plus a 200-character input preview in Postgres.
storage.logsStore.objectStorageExcludeRequestTypes keeps whole request types out of object storage (for example list_models or embedding). Their logs are written to the logs database in full instead. Hidden logs (content logging disabled with retainContentInObjectStorage on) are still offloaded, so their content never lands in the database.
Using IAM role (IRSA / instance profile) instead of static keys:
Google Cloud Storage
Azure Blob Storage
Create the container first;bucket is its name. endpoint uses DefaultAzureCredential with managed identity, workload identity, or environment service-principal credentials, separate from Azure model-provider credentials.
endpoint and reference a Kubernetes Secret whose connection-string key contains the connection string:
endpoint, connectionString, or existingSecret. Grant Storage Blob Data Contributor on the container, or equivalent read/write/list/delete access. Blob index-tag permissions are not needed.
For Parquet logs, set format: parquet; compression accepts snappy (default), none, gzip, or zstd. JSON accepts none or gzip. Explicit compression overrides compress.
Restart after configuration or credential changes; identity tokens refresh automatically. For lifecycle rules and migration precautions, see Azure operations.
MinIO (Self-Hosted)
Vector Store
A vector store is required for semantic caching. Choose from Weaviate, Redis, or Qdrant (embedded or external), or Pinecone (external only).Weaviate
Redis / Valkey
master.extraEnv (Kubernetes EnvVar entries) and master.envFrom (secretRef / configMapRef) are added to the embedded Redis container after the chart’s own REDIS_PASSWORD and REDISCLI_AUTH. Use REDIS_ARGS for server flags and module arguments such as REDISEARCH_ARGS for redis-stack-server:
auth.enabled: true (the default) the chart starts Redis with its own --requirepass command, which bypasses the image entrypoint that normally reads REDIS_ARGS. So when extraEnv or envFrom is set, the chart starts the server through sh -c 'exec redis-stack-server --dir /data --requirepass "$REDIS_PASSWORD" $REDIS_ARGS' instead (redis-server, without --dir, for a plain Redis image). REDIS_ARGS is split on whitespace, as the image entrypoint does, so values cannot contain spaces.
Data directory: with auth enabled the chart passes --dir /data to redis-stack-server, so snapshots land on the master.persistence volume. Chart versions before 2.1.49 left it out, and redis-stack-server saved to /var/lib/redis-stack on the container filesystem, so the embedded Redis lost its data whenever the pod was replaced.
Prometheus metrics: metrics.enabled: true runs an oliver006/redis_exporter sidecar in the Redis pod. It authenticates with the Redis password when auth.enabled is true. Its /scrape endpoint is turned off, since it sends the Redis password to any target it is given; set REDIS_EXPORTER_DISABLE_SCRAPE_ENDPOINT: "false" in metrics.extraEnv to turn it back on. If you protect the exporter with REDIS_EXPORTER_BASIC_AUTH_USERNAME and REDIS_EXPORTER_BASIC_AUTH_PASSWORD, set metrics.serviceMonitor.basicAuth (enabled, existingSecret, optional usernameKey / passwordKey) so Prometheus sends the same credentials. The chart also adds a metrics port (9121) to the <fullname>-redis-master Service (bifrost-redis-master for helm install bifrost) and prometheus.io/scrape, prometheus.io/port and prometheus.io/path annotations to the pod. With the Prometheus Operator, also enable the ServiceMonitor:

