No description
| base | ||
| build | ||
| dev | ||
| instancetemplate | ||
| prod | ||
| qm | ||
| test | ||
| testing | ||
| LICENSE | ||
| Readme.md | ||
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