Re: Hosting MySQL images in OpenShift Origin

2016-03-03 Thread Clayton Coleman
There are several ways to accomplish external routing. 1. Expose your pod network directly to the rest of your infrastructure (make 10.0.X.X routable from other places) 2. Use a service that is of type NodePort and connect to the node(s) on the port you receive directly (if you need HA, you'll wan

Re: Hosting MySQL images in OpenShift Origin

2016-03-03 Thread Ben Parees
On Thu, Mar 3, 2016 at 3:21 AM, David Balakirev wrote: > Hi, > > Thanks for the answers Ben, Aaron! > > Right so at this point the applications themselves are not hosted inside > OpenShift. There is a plan for that but we are not there yet. > > @Aaron your assumption was right in a sense that I

Re: Hosting MySQL images in OpenShift Origin

2016-03-03 Thread David Balakirev
Hi, Thanks for the answers Ben, Aaron! Right so at this point the applications themselves are not hosted inside OpenShift. There is a plan for that but we are not there yet. @Aaron your assumption was right in a sense that I intend to have MySQL available as a service to applications running o

Re: Hosting MySQL images in OpenShift Origin

2016-03-02 Thread Aaron Weitekamp
On Wed, Mar 2, 2016 at 9:05 AM, Ben Parees wrote: > Take a look at this template which deploys mysql: > > https://github.com/openshift/origin/blob/master/examples/db-templates/mysql-ephemeral-template.json > (or this one which uses persistent storage: > https://github.com/openshift/origin/blob/ma

Re: Hosting MySQL images in OpenShift Origin

2016-03-02 Thread Ben Parees
On Wed, Mar 2, 2016 at 11:41 AM, Aaron Weitekamp wrote: > On Wed, Mar 2, 2016 at 9:05 AM, Ben Parees wrote: > >> Take a look at this template which deploys mysql: >> >> https://github.com/openshift/origin/blob/master/examples/db-templates/mysql-ephemeral-template.json >> (or this one which uses

Re: Hosting MySQL images in OpenShift Origin

2016-03-02 Thread Ben Parees
Take a look at this template which deploys mysql: https://github.com/openshift/origin/blob/master/examples/db-templates/mysql-ephemeral-template.json (or this one which uses persistent storage: https://github.com/openshift/origin/blob/master/examples/db-templates/mysql-persistent-template.json ) A

Hosting MySQL images in OpenShift Origin

2016-03-02 Thread David Balakirev
Hi, I am trying to host MySQL containers inside OpenShift. The goal would be that projects could connect to a given container, setup a database for themselves remotely and execute their integration tests. The first question could be: is this something OpenShift could be used for or not? Fo