ERROR: cannot execute INSERT in a read-only transaction on Bitnami/postgresql-ha

Viewed 6

In the Bitnami chart postgresql-ha, I've gotten an error like this at the pod postgresql-ha-postgresql-0;

ERROR: cannot execute INSERT in a read-only transaction

1 Answers

The solution seems to be to add Helm values like so;

          pgpool:
            configuration: |
              connection_cache = false
              failover_on_backend_error = on
              failover_on_backend_shutdown = on

After deleting the pods, the problem seems to have gone away.

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Kreato's Answers.