PostgreSQL HA chart configuration
bitnami/postgresql-ha is used as a highly available database for Waldur.
Standalone installation
Add bitnami
repo to helm:
1 |
|
Install postgresql-ha
release:
1 2 |
|
NB: the value postgresqlha.enabled
for waldur release must be true
.
Chart configuration
You can change default PostgreSQL config with
the following variables in values.yaml
(postgresql-ha-values.yaml
file):
postgresql.database
- name of a database. NB: must matchpostgresqlha.postgresql.database
value inwaldur/values.yaml
postgresql.username
- name of a database user. NB: must matchpostgresqlha.postgresql.username
value inwaldur/values.yaml
postgresql.password
- password of a database userpostgresql.replicaCount
- number of db replicaspostgresql.repmgrPassword
- password ofrepmgr
userpersistence.size
- size of a database (for each replica)pgpool.image.tag
- tag ofPgpool
image. Possible tags for default image can be found herepostgresql.image.tag
- tag ofPostgreSQL
image. Possible tags for default image can be found here
More information related to possible values here.
Dependency installation
Waldur Helm chart supports PostgreSQL HA installation as a dependency.
For this, set postgresqlha.enabled
to true
and update related settings in postgresqlha
section in waldur/values.yaml
NB: the value postgresql.enabled
and externalDB.enabled
must be false
.
Prior Waldur installation, update chart dependencies:
1 |
|