postgres

by krakazyabra

Helm chartv0.1.0App 13.3Verified publisher

The World's Most Advanced Open Source Relational Database

About this chart

postgres

The World's Most Advanced Open Source Relational Database

Dependencies

RepositoryNameVersion
https://krakazyabra.github.io/microservices/common~0.1.8

TL;DR

$ helm repo add krakazyabra https://krakazyabra.github.io/microservices/
$ helm repo update
$ helm install postgres krakazyabra/postgres

Installing the Chart

To install the chart with the release name postgres:

helm install postgres krakazyabra/postgres

Uninstalling the Chart

To uninstall the postgres deployment:

helm uninstall postgres

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install postgres \
  --set env.TZ="America/New York" \
    krakazyabra/postgres

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

helm install postgres krakazyabra/postgres -f values.yaml

Troubleshooting

See Wiki.

Deploy postgres with OpenTenant

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