Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `oc get templates -n openshift |grep postgresql-persist`
- ```
- datagrid65-postgresql-persistent Application template for JDG 6.5 and PostgreSQL applications with persistent... 30 (16 blank) 10
- eap64-postgresql-persistent-s2i Application template for EAP 6 PostgreSQL applications with persistent storag... 34 (14 blank) 10
- eap70-postgresql-persistent-s2i Application template for EAP 7 PostgreSQL applications with persistent storag... 34 (14 blank) 10
- jws30-tomcat7-postgresql-persistent-s2i Application template for JWS PostgreSQL applications with persistent storage... 25 (8 blank) 10
- jws30-tomcat8-postgresql-persistent-s2i Application template for JWS PostgreSQL applications with persistent storage... 25 (8 blank) 10
- postgresql-persistent PostgreSQL database service, with persistent storage. For more information ab... 8 (2 generated) 4
- processserver63-amq-postgresql-persistent-s2i Application template for Red Hat JBoss BPM Suite 6.3 intelligent process serv... 42 (8 blank) 13
- processserver63-postgresql-persistent-s2i Application template for Red Hat JBoss BPM Suite 6.3 intelligent process serv... 33 (9 blank) 10
- sso70-postgresql-persistent Application template for SSO 7.0 PostgreSQL applications with persistent storage 33 (17 blank) 8
- ```
- `oc process --parameters -n openshift postgresql-persistent`
- ```
- NAME DESCRIPTION GENERATOR VALUE
- MEMORY_LIMIT Maximum amount of memory the container can use. 512Mi
- NAMESPACE The OpenShift Namespace where the ImageStream resides. openshift
- DATABASE_SERVICE_NAME The name of the OpenShift Service exposed for the database. postgresql
- POSTGRESQL_USER Username for PostgreSQL user that will be used for accessing the database. expression user[A-Z0-9]{3}
- POSTGRESQL_PASSWORD Password for the PostgreSQL connection user. expression [a-zA-Z0-9]{16}
- POSTGRESQL_DATABASE Name of the PostgreSQL database accessed. sampledb
- VOLUME_CAPACITY Volume space available for data, e.g. 512Mi, 2Gi. 1Gi
- POSTGRESQL_VERSION Version of PostgreSQL image to be used (9.2, 9.4, 9.5 or latest). 9.5
- ```
- oc new-app postgresql-persistent --name=gogs-postgres -p POSTGRESQL_USER=gogs -p POSTGRESQL_PASSWORD=Passw0rd\! -p VOLUME_CAPACITY=2Gi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement