Turbo Fredriksson <turbo@...> writes:

> 
> My use-case require me to have Containers for certain rings
> and real VMs for others.
> 
> But I also want to utilize my hardware to max, while keeping
> the electricity bill (and cooling) as low as possible. This
> means that I need (want!) to run both the VMs and the Containers
> on the same host.
> 
> I've just started with Openstack, so I have _many_ questions,
> and this is the first one: Can I run both Nova (full VMs) and
> Magnum (Containers) on the same physical host?
> 
> As in, will Openstack realize that the physical host is full
> (with mixed VMs and Containers) so that it will start filling
> the next physical machine? Because I'm assuming that's what it
> does, realize that there's no more "space" (resources) left
> on the host and know that it can't put any new instance on there,
> but need to start filling another one.
> 
> Or does it just throw the instances out randomly on physical
> nodes?
> --


Hi!
AFAIK the Magnum service will run containers inside VMs. It is a
provisioning system for container orchestration services like Kubernetes. 

There are drivers like nova-lxc and nova-docker, which run containers
directly on bare metal, and I would not mix it with KVM on the same nodes. 

Although it might just work - each compute driver periodically reports free
resources to Nova and will regard the other one as non-Openstack load. So I
think 

And you can run Magnum and Ironic for containers on bare metal, but you
won't be able to run VMs on that.
Tomas



_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to