You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Joe Stein <jo...@stealth.ly> on 2014/07/18 21:05:49 UTC
Windows on Mesos?
Has anyone bumped into having to run Windows on Mesos?
Would this be best done by getting some hypervisor to run in the container
API (like deimos does for docker) and then run Windows in there? i.e. get
QEMU to run in Mesos and then KVM up Windows a la
http://www.linux-kvm.org/page/Guest_Support_Status#Windows_Family
I looked and there are some QEMU options within Docker containers so maybe
that would be an option and run docker on the slaves with qemu running kvm
guest windows =8^0
I feel like either case I am trying to turn a dodecahedron into a square
peg and take that and putting it into a round hole but not sure if the are
other options or if the one I am considering should be avoided.
/*******************************************
Joe Stein
Founder, Principal Consultant
Big Data Open Source Security LLC
http://www.stealth.ly
Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
********************************************/
Re: Windows on Mesos?
Posted by Vetoshkin Nikita <ni...@gmail.com>.
AFAIK, docker does not support KVM as an execution backend, only Linux
cgroups (via lxc or libcontainer).
So there are two choices: write docker extension to support KVM or write
Mesos external containerizer. Latter seems doable.
On Jul 19, 2014 5:00 AM, "Kevin Lyda" <ke...@ie.suberic.net> wrote:
> On Fri, Jul 18, 2014 at 8:05 PM, Joe Stein <jo...@stealth.ly> wrote:
> > Has anyone bumped into having to run Windows on Mesos?
>
> Not yet, but I might.
>
> > Would this be best done by getting some hypervisor to run in the
> container
> > API (like deimos does for docker) and then run Windows in there? i.e.
> get
> > QEMU to run in Mesos and then KVM up Windows a la
> > http://www.linux-kvm.org/page/Guest_Support_Status#Windows_Family
>
> Why not just use Docker? Configure mesos/deimos/docker/marathon(or
> whatever) and get that working.
>
> Once that's working, you just need qemu running in a container.
> Looking on the Docker registry I see a number of them. Now I have no
> idea on licensing for Windows since I've really never used it in the
> past two decades, but I'm guessing some Windows person knows about
> these things. So assuming you can work out the licensing part, you
> can just spin up a Windows image with qemu. Obviously you'd want to
> pop your app up there - I assume you could put the app into a second
> disk image and you could access it on the "D:" drive or however that
> poor design decision gets expressed these days.
>
> Obviously you'd probably want a private registry to store these Docker
> images that have Windows and your license stuff in them. Running a
> docker registry in marathon/mesos actually seems to work quite well.
>
> Kevin
>
> --
> Kevin Lyda
> Galway, Ireland
> US Citizen overseas? We can vote.
> Register now: http://www.votefromabroad.org/
>
Re: Windows on Mesos?
Posted by Kevin Lyda <ke...@ie.suberic.net>.
On Fri, Jul 18, 2014 at 8:05 PM, Joe Stein <jo...@stealth.ly> wrote:
> Has anyone bumped into having to run Windows on Mesos?
Not yet, but I might.
> Would this be best done by getting some hypervisor to run in the container
> API (like deimos does for docker) and then run Windows in there? i.e. get
> QEMU to run in Mesos and then KVM up Windows a la
> http://www.linux-kvm.org/page/Guest_Support_Status#Windows_Family
Why not just use Docker? Configure mesos/deimos/docker/marathon(or
whatever) and get that working.
Once that's working, you just need qemu running in a container.
Looking on the Docker registry I see a number of them. Now I have no
idea on licensing for Windows since I've really never used it in the
past two decades, but I'm guessing some Windows person knows about
these things. So assuming you can work out the licensing part, you
can just spin up a Windows image with qemu. Obviously you'd want to
pop your app up there - I assume you could put the app into a second
disk image and you could access it on the "D:" drive or however that
poor design decision gets expressed these days.
Obviously you'd probably want a private registry to store these Docker
images that have Windows and your license stuff in them. Running a
docker registry in marathon/mesos actually seems to work quite well.
Kevin
--
Kevin Lyda
Galway, Ireland
US Citizen overseas? We can vote.
Register now: http://www.votefromabroad.org/
Re: Windows on Mesos?
Posted by Tim St Clair <ts...@redhat.com>.
inline
----- Original Message -----
> From: "Niklas Nielsen" <ni...@qni.dk>
> To: "dev" <de...@mesos.apache.org>
> Cc: users@mesos.apache.org
> Sent: Friday, July 18, 2014 5:39:35 PM
> Subject: Re: Windows on Mesos?
>
> Why not write that up as an external containerizer? :-)
+1.
Also, you will likely want to go indirect to libvirt.
>
> Niklas
>
>
> On Fri, Jul 18, 2014 at 12:05 PM, Joe Stein <jo...@stealth.ly> wrote:
>
> > Has anyone bumped into having to run Windows on Mesos?
> >
> > Would this be best done by getting some hypervisor to run in the container
> > API (like deimos does for docker) and then run Windows in there? i.e. get
> > QEMU to run in Mesos and then KVM up Windows a la
> > http://www.linux-kvm.org/page/Guest_Support_Status#Windows_Family
> >
> > I looked and there are some QEMU options within Docker containers so maybe
> > that would be an option and run docker on the slaves with qemu running kvm
> > guest windows =8^0
> >
> > I feel like either case I am trying to turn a dodecahedron into a square
> > peg and take that and putting it into a round hole but not sure if the are
> > other options or if the one I am considering should be avoided.
> >
> > /*******************************************
> > Joe Stein
> > Founder, Principal Consultant
> > Big Data Open Source Security LLC
> > http://www.stealth.ly
> > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> > ********************************************/
> >
>
>
>
> --
> Niklas
>
--
Cheers,
Timothy St. Clair
Red Hat Inc.
Re: Windows on Mesos?
Posted by Niklas Nielsen <ni...@qni.dk>.
Why not write that up as an external containerizer? :-)
Niklas
On Fri, Jul 18, 2014 at 12:05 PM, Joe Stein <jo...@stealth.ly> wrote:
> Has anyone bumped into having to run Windows on Mesos?
>
> Would this be best done by getting some hypervisor to run in the container
> API (like deimos does for docker) and then run Windows in there? i.e. get
> QEMU to run in Mesos and then KVM up Windows a la
> http://www.linux-kvm.org/page/Guest_Support_Status#Windows_Family
>
> I looked and there are some QEMU options within Docker containers so maybe
> that would be an option and run docker on the slaves with qemu running kvm
> guest windows =8^0
>
> I feel like either case I am trying to turn a dodecahedron into a square
> peg and take that and putting it into a round hole but not sure if the are
> other options or if the one I am considering should be avoided.
>
> /*******************************************
> Joe Stein
> Founder, Principal Consultant
> Big Data Open Source Security LLC
> http://www.stealth.ly
> Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> ********************************************/
>
--
Niklas