Prerequisites
Before enabling Cube, ensure the following:- Wharf must be enabled: Wharf is enabled by default. If you disabled it with
wharf.enabled: false, re-enable it for Cube to work. See Wharf OTLP Trace Collector. - Object storage (recommended for production): Cubestore needs persistent storage. See Storage below.
Database
With internal PostgreSQL (postgres.enabled: true):
The Helm chart automatically creates and configures the Cube database during installation. No manual steps required.
With external PostgreSQL (postgres.enabled: false):
You must manually create the Cube database before enabling. The database name should match cube.database (default: cube).
postgres_fdw extension. On most managed PostgreSQL services (AWS RDS, Google Cloud SQL, Azure) this extension is available by default. If your database administrator has restricted extension creation, they may need to run the following on the Cube database:
Storage
Cube automatically detects and reuses the storage backend already configured for your installation (STORAGE_SERVICE). No additional storage configuration is needed — Cube stores its data under a cubestore/ prefix in the same bucket or container.
If you need to override the auto-detected backend, set
cube.cubestore.storage.type explicitly to "s3", "gcs", or "azure".
Local PVC (Evaluation Only)
To force local PVC storage instead of auto-detection:Configuration
boolean
default:"false"
Enable or disable Cube.Values:
true- Deploy Cube (enables analytics)false- Disable Cube (default)
string
default:"cube"
Database name used by the Cube service.Default:
"cube"Must match: When using external PostgreSQL, the database with this name must exist and be accessible by the application user.Image
string
default:""
Container registry hosting the Cube image.Default:
"" (empty) - Automatically uses global.imageRegistry valuestring
default:"proxy/crewai/crewai/cube"
Cube container image name.
string
default:"0.1.0"
Cube version to deploy.
string
default:"IfNotPresent"
Image pull policy.
Scaling
integer
default:"1"
Number of Cube API replicas.
Resources
object
Resource limits and requests for the Cube API pod.Defaults:
object
Resource limits and requests for the background worker pod.Defaults:
Cubestore
string
default:"v1.6.29"
Cubestore version.
string
default:""
Storage backend override. When empty (default), auto-detected from
STORAGE_SERVICE.Values:""- Auto-detect fromSTORAGE_SERVICE(recommended)"s3"- Force AWS S3"gcs"- Force Google Cloud Storage"azure"- Force Azure Blob Storage"local"- Force local PVC storage
string
default:"cubestore"
Path prefix within the storage bucket. Must NOT start with
/ — a leading slash causes S3 list-after-write failures.Default: "cubestore"boolean
default:"false"
Enable PVC-based local storage. Only used when
storage.type is empty. See the storage warning above.string
default:"10Gi"
PVC storage size.
integer
default:"2"
Number of Cubestore worker replicas.Default:
2 — Matches SaaS baseline. Increase for high query volume.object
Resource limits and requests for the Cubestore router.Defaults:
object
Resource limits and requests for each Cubestore worker.Defaults:
Node Placement
object
default:"{}"
Node selector labels for Cube pod placement.Default:
{} (no node restrictions)