First OpenShift v3 experiments

Thursday, November 2, 2017

Not very successful so far getting Redmine over my free OpenShift instance.

Commands look like this:

oc new-project spice-redmine --description="Redmine deployment for SPICE project" --display-name="SPICE Redmine"

oc new-app -e MYSQL_USER=redmine -e MYSQL_PASSWORD=r3dm1ne -e MYSQL_DATABASE=redmine registry.access.redhat.com/openshift3/mysql-55-rhel7

oc volume dc/mysql-55-rhel7 --add --name=spice-redmine-storage --mount-path=/var/lib/mysql/data --claim-name=spice-redmine-database --overwrite

oc get all

oc rsh po/mysql-55-rhel7-2-6wm1p

oc delete services mysql-55-rhel7

I need to learn more about OpenShift, it's not entirely trivial to even understand the basic concepts, so you end up assuming it's mostly like containers, and apparently it's a little more than that.