I have an Openshift Origin 3.* cluster up an running. It works great, and I have a few applications running there, composed of their own app server, database server, and ldap server Openshift services/deployments/pods.
These web applications are exposed via the HA2-router. All of this works nicely, and we can access the webapps using the Openshift Routes we set up via the HA2-router. However, we'd like to to get access to the Postgresql database services running in Openshift with tools like 'psql' (a command line Postgresql client), or PgAdmin (a GUI that connects to Postgresql).
I'm stumped as to how to accomplish this. Services or pods within Openshift have no trouble connecting to the Postgresql pods -- because they Openshift performs its own DNS and routing between those pods. However, the only way I'm familiar with that communication can happen from the outside is via a router like HA2-router. This doesn't work, because the HA2-router exposes services in Postgresql via HTTP... We need to connect to a Postgresql pod via TCP, on port 5432.
Thanks.