OpenShift PostgreSQL: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
m (Ovidiu moved page OpenShift Postgres Operations to OpenShift Postgres without leaving a redirect)
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[OpenShift Auxiliary Tools Operations#Operations|OpenShift Auxiliary Tools Operations]]
* [[OpenShift Auxiliary Tools Operations#Operations|OpenShift Auxiliary Tools Operations]]
=Installation=
You can use the following generic Postgresql template: https://github.com/NovaOrdis/playground/blob/master/openshift/auxiliary-tools/generic-postgresql.yaml
Copy it locally. Normally, you should not need to modify it manually, unless you want to use newer versions.
Make sure that a persistent volume 1Gi or larger is available for binding.
[[oc process]] -f ./generic-postgresql.yaml \
  --param APPLICATION_NAME=... \
  --param POSTGRESQL_USER=... \
  --param POSTGRESQL_PASSWORD=... \
  --param POSTGRESQL_DATABASE=... \
| [[oc create]] -f -

Revision as of 04:05, 25 November 2017

Internal

Installation

You can use the following generic Postgresql template: https://github.com/NovaOrdis/playground/blob/master/openshift/auxiliary-tools/generic-postgresql.yaml

Copy it locally. Normally, you should not need to modify it manually, unless you want to use newer versions.

Make sure that a persistent volume 1Gi or larger is available for binding.

oc process -f ./generic-postgresql.yaml \
 --param APPLICATION_NAME=... \
 --param POSTGRESQL_USER=... \
 --param POSTGRESQL_PASSWORD=... \
 --param POSTGRESQL_DATABASE=... \
| oc create -f -