ClickHouse
This reference documents the Kubernetes configuration options for the ClickHouse chart, which provides an analytics database for the Grafbase Enterprise Platform.
All configuration options are nested under the clickhouse
key.
Note: As of v0.9.0, this is a custom chart using the official ClickHouse Docker image (clickhouse/clickhouse-server:24.11) instead of the deprecated Bitnami chart. See the v0.9.0 release notes for migration information.
Important: This chart is primarily intended for proof-of-concept deployments. For production use, we recommend using your own ClickHouse infrastructure.
Container image configuration for ClickHouse.
Defaults:
image:
repository: clickhouse/clickhouse-server
tag: "24.11"
pullPolicy: IfNotPresent
Number of replicas for the ClickHouse deployment.
Kubernetes ReplicationController Docs
Defaults:
replicas: 1
Authentication configuration for the ClickHouse database. The database is automatically created on startup.
Defaults:
auth:
username: grafbase
password: grafbase
database: analytics
Common annotations for the ClickHouse resources. Can be used to configure Helm hooks for deployment ordering.
Defaults:
commonAnnotations: {}
Example with hooks:
commonAnnotations:
'helm.sh/hook': pre-install
'helm.sh/hook-weight': '-15'
Service configuration for exposing ClickHouse.
Defaults:
service:
type: ClusterIP
httpPort: 8123 # HTTP interface port
nativePort: 9000 # Native protocol port
httpNodePort: "" # Only used when type is NodePort
nativeNodePort: "" # Only used when type is NodePort
Persistence configuration for ClickHouse data.
Defaults:
persistence:
enabled: true
size: 8Gi
Resource requests and limits for the ClickHouse container.
Defaults:
resources:
requests:
cpu: 1
memory: 1024Mi
limits:
cpu: 1
memory: 2048Mi