Den, the other option is to run Mesos on top of OpenShift, and then launch a new k8s-mesos instance on top of Mesos. You wouldn't be reusing the existing k8s installation, but you could get Mesos and K8s to share resources better.
On Mon, Jan 4, 2016 at 11:54 PM, Den Cowboy <[email protected]> wrote: > Okay thanks. Some OpenShift expert told me: > It should be possible to try it yourself, but you'd probably have to > roll up your sleeves a bit and add a new compilation target into the > openshift binary (an equivalent to openshift start kubernetes kubelet, > but for the km binary). If you're interested I could point out some > code to copy to get there. > > ------------------------------ > Date: Tue, 5 Jan 2016 11:00:35 +0800 > > Subject: Re: Mesos on OpenShift 3.1 > From: [email protected] > To: [email protected] > > Sorry I forgot the version, but the "km" binary should located in same > directory as "kubelet", so seems your kubernetes > v1.1.0-origin-1107-g4c8e6f4 does not include km distribution. > > I think that you can post a question to kubernetes slack channel or > kubernetes mail list to get some help from there. > > Thanks, > > Guangya > > On Mon, Jan 4, 2016 at 11:33 PM, Den Cowboy <[email protected]> wrote: > > Hi, > > Thanks for your fast reply. Do you remember on which version of OpenShift > you were working on? > And which directory it was? > > I see kubelet in the /usr/bin/ folder and there is no folder which is > named km. > I'm on OpenShift Origin: > oc v1.1.0.1-1-g2c6ff4b > kubernetes v1.1.0-origin-1107-g4c8e6f4 > > ------------------------------ > Date: Mon, 4 Jan 2016 23:01:58 +0800 > Subject: Re: Mesos on OpenShift 3.1 > From: [email protected] > To: [email protected] > > > Hi Den, > > AFAIK, the OpenShift do not include Kubenetes-Mesos distro when I try it > month ago, but I do not know if it includes Kubenetes-Mesos distro for now. > You can double check if there is a binary named as "km" which is in same > directory as "kubelet", if the "km" is there, then you can migrate your > Kubernetes running on Mesos by following > https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/mesos.md; > otherwise, you cannot. > > Thanks, > > Guangya > > > On Mon, Jan 4, 2016 at 10:41 PM, Den Cowboy <[email protected]> wrote: > > I'm able to install and configure OpenShift 3.1 with ansible. > I will have an OpenShift environment which is using Docker and Kubernetes. > So it's easy to build/deploy and host applications using docker images. > > But there is a 'new' problem. We received some Docker images which contain > one product together. > This product is using Apache Mesos. So it will need it on OpenShift. I > read it's possible to run Mesos and Kubernetes together. > Is this also possible after the Kubernetes installation with OpenShift? > > Can you give me some hints how to perform this process if it's possible? > > Thanks > > > >

