clickhouse

by mjpitz

Helm chartv0.2403.1MITVerified publisher

(BETA) Deploy a standalone Clickhouse instance. ClickHouse is a high-performance, column-oriented SQL database management system (DBMS) for online analytical processing (OLAP).

About this chart

clickhouse

(BETA) Deploy a standalone Clickhouse instance. ClickHouse is a high-performance, column-oriented SQL database management system (DBMS) for online analytical processing (OLAP).

Maintainers

NameEmailUrl
Mya Pitzerusehttps://mya.sh
The cognative authorshttps://github.com/mjpitz/cognative

Values

KeyTypeDefaultDescription
affinityobject{}Specify affinity rules for the pods.
auth.passwordstring"clickhouse"Specify the password used to authenticate with the clickhouse cluster.
auth.usernamestring"clickhouse"Specify the username used to authenticate with the clickhouse cluster.
extra.configobject{}Provide additional XML configuration to the clickhouse system.
fullnameOverridestring""Override the full name of the release.
image.pullPolicystring"IfNotPresent"The pull policy to use for the image.
image.repositorystring"clickhouse/clickhouse-server"The repository hosting the clickhouse image.
image.tagfloat24.2Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Specify the secret containing the registry credentials.
nameOverridestring""Override the name of the release.
nodeSelectorobject{}Specify the node selector used to control which nodes pods are deployed to.
persistence.accessModestring"ReadWriteOnce"Configure the access mode of the volume.
persistence.annotationsobject{}Provide additional annotations to attach to the volume claim.
persistence.enabledbooltrueEnable persistence for this deployment.
persistence.existingClaimstring""Specify the name of an existing PersistentVolumeClaim to use.
persistence.labelsobject{}Provide additional labels to attach to the volume claim.
persistence.resources.storagestring"10Gi"Specify the size of the volume.
persistence.storageClassstring""Specify the storage class that should provision this claim.
podAnnotationsobject{}Annotations to add to the pod, typically used for assume roles.
podSecurityContextobject{}Specify the security context for the entire pod.
resourcesobject{}Specify the resources for the pod.
securityContextobject{}Specify the security context for the redis-raft container.
service.annotationsobject{}Annotations to add to the service, typically used for ingress control.
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.createbooltrueSpecifies whether a service account should be created.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
tolerationslist[]Specify taints that the pods are willing to tolerate.

Deploy clickhouse with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has clickhouse on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartclickhouse is pinned at v0.2403.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply