clickhouse

by felipegfalcao

Helm chartv24.1.18App 24.1.2

A Helm chart for ClickHouse

About this chart

Clickhouse

This helmchart is being installed as subchart/dependecy for signoz helmchart with default values.

Usage recommendation

In case you are not using a well-know reserved private IP address range that are whitelisted by default for your deployment environment (like for minikube environment), eg:

  • 10.0.0.0/8
  • 100.64.0.0/10
  • 172.16.0.0/12
  • 192.0.0.0/24
  • 198.18.0.0/15
  • 192.168.0.0/16

You must whitelist IP address range used for your enviroment (eg. kubernetes nodes IPs) manually in Signoz values chart.

clickhouse:
  allowedNetworkIps:
    - "192.173.0.0/16"

Otherwise you'll be getting error message like:

Failed to initialize ClickHouse: error connecting to primary db: code: 516,
message: admin: Authentication failed: password is incorrect, or there is no user with such name

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 v24.1.18 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