No description
Find a file
2023-12-30 11:32:20 +01:00
base add PW 2023-12-30 11:32:20 +01:00
build add PW 2023-12-30 11:32:20 +01:00
dev Initial 2022-07-18 13:55:39 +02:00
instancetemplate add PW 2023-12-30 11:32:20 +01:00
prod Initial 2022-07-18 13:55:39 +02:00
qm Initial 2022-07-18 13:55:39 +02:00
test Initial 2022-07-18 13:55:39 +02:00
testing Small update to clarify! 2022-07-19 13:30:39 +02:00
LICENSE Add LICENSE 2022-07-18 11:57:43 +00:00
Readme.md Small update to clarify! 2022-07-19 13:30:39 +02:00

Simple PostgreSQL Patroni setup for OpenShift / OKD

You can use this kustomize deployment in your app as a replacement for the single node postgres pods.

Adapt it: A template is in the directory instancetemplate

For your convinience you get a kustomize variable POSTGRESQL_SERVICE_HOST with the correct service name!

Building

Build the container via oc apply -k build. You've got an ImageStream postgres-patroni:latest after the build!

Comments

  • The 2 ConfigMaps are holding the actual leader in an annotation and the other the config also in an annotation!

Peter Pfläging peter@pflaeging.net