radar-cloudnative-timescaledb
by RADAR-Base
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
| Name | Url | |
|---|---|---|
| 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
| Repository | Name | Version |
|---|---|---|
| file://../../external/cloudnativepg-cluster | cluster | 0.3.1 |
| https://radar-base.github.io/radar-helm-charts | common | 2.x.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| cluster.type | string | "timescaledb" | |
| cluster.version.timescaledb | string | "2.15" | |
| cluster.mode | string | "standalone" | |
| cluster.recovery.method | string | "import" | |
| cluster.recovery.import.type | string | "monolith" | |
| cluster.recovery.import.databases[0] | string | "database" | |
| cluster.recovery.import.source.host | string | "timscaledb" | |
| cluster.recovery.import.source.username | string | "postgres" | |
| cluster.recovery.import.source.database | string | "postgres" | |
| cluster.recovery.import.source.sslMode | string | "prefer" | |
| cluster.recovery.import.source.passwordSecret.create | bool | false | |
| cluster.recovery.import.source.passwordSecret.name | string | "postgresql" | |
| cluster.recovery.import.source.passwordSecret.key | string | "postgres-password" | |
| cluster.cluster.instances | int | 1 | |
| cluster.cluster.imagePullPolicy | string | "Always" | |
| cluster.cluster.storage.size | string | "10Gi" | |
| cluster.cluster.monitoring.enabled | bool | true | |
| cluster.cluster.initdb.database | string | "database" | |
| cluster.cluster.initdb.owner | string | "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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartradar-cloudnative-timescaledb is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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