PostgreSQL High Availability¶
Warning
PostgreSQL HA deployment will no longer be supported in version 3.0.0 of the charts. Please use another method to deploy the PostgreSQL HA service before upgrading.
Warning
This chart provides this as an example only. For true production environments please consider your cloud provider's offerings or deploying the PostgreSQL-HA separately.
This chart supports the deployment of PostgreSQL in a Highly Available (HA) fashion as provided by the Bitnami PostgreSQL-HA chart. To enable HA PostgreSQL use the following values:
postgresql:
enabled: false
postgresqlha:
enabled: true
postgresql:
password: "change-me"
repmgrPassword: "change-me"
postgresPassword: "change-me"
pgpool:
adminPassword: "change-me"
It is important to note all 4 passwords as they will be required during an upgrade. PostgreSQL supports existing secrets as well when configured with the following values:
This secret can be created with:
kubectl create secret generic my-secret --from-literal=admin-password=change-me --from-literal=postgresql-password=change-me --from-literal=postgresql-postgres-password=change-me --from-literal=repmgr-password=change-me
This helm chart's support for PostgreSQL HA is still in an early alpha/beta phase you should use this feature cautiously.