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 postgresql.HAEnabled
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 matchpostgresql.database
value inwaldur/values.yaml
postgresql.username
- name of a database user. NB: must matchpostgresql.username
value inwaldur/values.yaml
postgresql.password
- password of a database userpostgresql.replicaCount
- number of db replicaspostgresql.syncReplication
- enable/disable synchronous replicationpostgresql.repmgrUsername
- username ofrepmgr
userpostgresql.repmgrPassword
- password ofrepmgr
userpersistence.size
- size of a database (for each replica)pgpoolImage.tag
- tag ofPgpool
image. Possible tags for default image can be found herepostgresqlImage.tag
- tag ofPostgreSQL
image. Possible tags for default image can be found herepgpoolImage.tag
- registry ofPgpool
image.postgresqlImage.tag
- registry ofPostgreSQL
image.
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 |
|