radar-cloudnative-timescaledb

by RADAR-Base

Helm chartv0.2.0Verified publisher

CloudNativePG TimescaleDB cluster helm chart for RADAR-base

About this chart

radar-cloudnative-timescaledb

CloudNativePG TimescaleDB cluster helm chart for RADAR-base

Homepage: https://radar-base.org

CloudNativePG Operator

This chart uses CloudNativePG Operator](https://cloudnative-pg.io/) to deploy a TimescaleDB database. The deployment of this operator is managed by the cloudnativepg-operator chart dependency. Configuration to the operator is passed via the cluster: key in the values.yaml file. Consult the documentation of the CloudNativePG Operator for additional information on how to configure the operator if needed.

Maintainers

NameEmailUrl
Pim van Nierop[email protected]https://www.thehyve.nl/experts/pim-van-nierop

Source Code

Prerequisites

  • Kubernetes 1.28+
  • Kubectl 1.28+
  • Helm 3.1.0+

Requirements

RepositoryNameVersion
file://../../external/cloudnativepg-clustercluster0.3.1
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
cluster.typestring"timescaledb"
cluster.version.timescaledbstring"2.15"
cluster.modestring"standalone"
cluster.recovery.methodstring"import"
cluster.recovery.import.typestring"monolith"
cluster.recovery.import.databases[0]string"database"
cluster.recovery.import.source.hoststring"timscaledb"
cluster.recovery.import.source.usernamestring"postgres"
cluster.recovery.import.source.databasestring"postgres"
cluster.recovery.import.source.sslModestring"prefer"
cluster.recovery.import.source.passwordSecret.createboolfalse
cluster.recovery.import.source.passwordSecret.namestring"postgresql"
cluster.recovery.import.source.passwordSecret.keystring"postgres-password"
cluster.cluster.instancesint1
cluster.cluster.imagePullPolicystring"Always"
cluster.cluster.storage.sizestring"10Gi"
cluster.cluster.monitoring.enabledbooltrue
cluster.cluster.initdb.databasestring"database"
cluster.cluster.initdb.ownerstring"database"

Deploy radar-cloudnative-timescaledb with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has radar-cloudnative-timescaledb 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 chartradar-cloudnative-timescaledb is pinned at v0.2.0 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