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:
rds.force_ssl=1 or Azure Database for PostgreSQL with require_secure_transport=ON), enable cube.databaseSsl: true. Leave it disabled for the in-cluster PostgreSQL deployment.
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.
S3-Compatible Storage: When
STORAGE_SERVICE: amazon and an endpoint is configured via AWS_ENDPOINT or cube.cubestore.storage.endpoint, Cube automatically uses S3-compatible mode (Cubestore’s “minio” driver, which works with any S3-compatible service, not just MinIO).
Override Auto-Detection: Set cube.cubestore.storage.type explicitly to override auto-detection:
"s3"- Force AWS S3 (use for AWS-specific endpoints: VPC interface endpoints, FIPS, S3 Transfer Acceleration)"minio"- Force S3-compatible mode (requires endpoint configuration)"gcs"- Force Google Cloud Storage"azure"- Force Azure Blob Storage
Local PVC (Evaluation Only)
To force local PVC storage instead of auto-detection:Configuration
Enable or disable Cube.Values:
true- Deploy Cube (enables analytics)false- Disable Cube (default)
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
Container registry hosting the Cube image.Default:
"" (empty) - Automatically uses global.imageRegistry valueScaling
Resources
Cubestore
Connect to PostgreSQL over TLS. Required for managed databases that enforce
encrypted connections, such as Amazon RDS with
rds.force_ssl enabled.Leave false when using the in-cluster PostgreSQL deployment.Container registry hosting the Cubestore image.Default:
"" (empty) - Automatically uses global.imageRegistry valueStorage backend override. When empty (default), auto-detected from
STORAGE_SERVICE.Auto-Detection Behavior:STORAGE_SERVICE: amazonwithout endpoint →s3STORAGE_SERVICE: amazonwithAWS_ENDPOINTorcube.cubestore.storage.endpoint→minio(S3-compatible)STORAGE_SERVICE: google→gcsSTORAGE_SERVICE: microsoft→azure
""- Auto-detect fromSTORAGE_SERVICE(recommended)"s3"- Force AWS S3 (use for AWS-specific endpoints: VPC interface, FIPS, S3 Transfer Acceleration)"minio"- Force S3-compatible storage (requirescube.cubestore.storage.endpointorAWS_ENDPOINT)"gcs"- Force Google Cloud Storage"azure"- Force Azure Blob Storage"local"- Force local PVC storage
- Set to
"s3"when using AWS-specific endpoints that should not be treated as S3-compatible - Set to
"minio"to force S3-compatible mode regardless ofAWS_ENDPOINT
S3-compatible storage endpoint URL for Cubestore.Default: Example - AWS VPC Endpoint (Keep AWS S3 Driver):Leave Empty: To use
"" (empty) - Falls back to AWS_ENDPOINT if setPurpose: Specifies an S3-compatible object storage endpoint specifically for Cube analytics. When set, Cubestore automatically uses S3-compatible mode.Fallback Behavior:- If
cube.cubestore.storage.endpointis empty, usesAWS_ENDPOINTvalue - If both are empty, uses standard AWS S3 regional endpoints
AWS_ENDPOINT.When to Set:- Using S3-compatible storage exclusively for Cube (different from platform storage)
- Separating Cube analytics storage from platform file storage
- Using a dedicated endpoint for analytics workloads
- MinIO:
"https://minio.company.com:9000" - Wasabi:
"https://s3.wasabisys.com" - DigitalOcean Spaces:
"https://nyc3.digitaloceanspaces.com" - Backblaze B2:
"https://s3.us-west-002.backblazeb2.com" - Cloudflare R2:
"https://abc123.r2.cloudflarestorage.com"
storage.type: "s3" Override):- VPC Interface Endpoint:
"https://bucket.vpce-0123.s3.us-east-1.vpce.amazonaws.com" - FIPS Endpoint:
"https://s3-fips.us-gov-west-1.amazonaws.com" - S3 Transfer Acceleration:
"https://s3-accelerate.amazonaws.com"
cube.cubestore.storage.remoteDir must not be empty. Without a sub-path prefix, Cubestore cannot list its own uploads and pre-aggregations will fail to build.Example - S3-Compatible Storage:AWS_ENDPOINT or standard AWS S3 endpoints (recommended for most deployments).Override bucket name for Cube analytics storage.Default: Leave Empty: To use the same bucket as platform storage (recommended for most deployments).
"" (empty) - Uses platform storage bucket from AWS_BUCKET or GCS_BUCKETPurpose: Allows Cube to use a separate bucket from platform file storage. Useful for isolating analytics data or implementing different retention policies.When to Set:- Separating Cube analytics storage from platform file storage
- Different bucket lifecycle policies for analytics data
- Dedicated bucket for analytics workloads
Override AWS region for Cube analytics storage.Default: Leave Empty: To use the same region as platform storage (recommended for most deployments).
"" (empty) - Uses platform storage region from AWS_REGIONPurpose: Allows Cube to use a different region from platform file storage. Useful when separating analytics storage for compliance or performance reasons.When to Set:- Cube bucket is in a different region than platform storage
- Compliance requirements mandate specific data residency for analytics
Path prefix within the storage bucket.Default:
"cubestore"Requirements:- Must NOT start with
/— a leading slash causes S3 list-after-write failures - Must NOT be empty when using S3-compatible storage — without a sub-path, Cubestore cannot list its own uploads and pre-aggregations will never complete
remoteDir causes Cubestore to fail silently during pre-aggregation builds.Validation: The chart will fail installation if remoteDir is empty when using S3-compatible storage (auto-detected or explicit type: "minio").Enable PVC-based local storage. Only used when
storage.type is empty. See the storage warning above.Number of Cubestore worker replicas.Default:
2 — Matches SaaS baseline. Increase for high query volume.