druid

by Wiremind

Helm chartv1.22.1App 29.0.1Verified publisher

Apache Druid is a high performance real-time analytics database.

About this chart

Druid Helm Chart

Druid, a real-time analytics database designed for fast slice-and-dice analytics ("OLAP" queries) on large data sets.

This Chart is to deploy a Druid cluster on Kubernetes.

It provides the following features:

  • You don't have to deal with a Kubernetes Operator burden.
  • The creation of different tiers (hot and cold for example) of Historical nodes.
  • The creation of several worker categories.
  • Configuration as code: Specify the concerned component and the configuration you want it to have in the values and the Chart will take care of applying it.
  • HPA for the workers with the possibility to scale to zero using kube-hpa-scale-to-zero.
  • Global and per component environment variables can be passed to the official druid docker image.

Notes:

  • The Chart focuses on (or is optimized for) druid native batch ingestion, but it should work for all other types of ingestion, contributions are welcome.
  • Despite calling them Indexers, the workers are MiddleManagers actually, you can still enable the real experimental Indexers workers, see here.
  • You need to provide some configuration in the values file before deploying, look for SET_ME placeholders. Contributions to make this optional are welcome.
  • The Chart is tested

Deploy druid with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has druid 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 chartdruid is pinned at v1.22.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