[openstack-dev] [nova-docker] Status update
John Garbutt
john at johngarbutt.com
Mon May 11 13:57:08 UTC 2015
On 9 May 2015 at 17:55, Adrian Otto <adrian.otto at rackspace.com> wrote:
> On the subject of extending the Nova API to accommodate special use cases of containers that are beyond the scope of the Nova API, I think we should resist that, and focus those container-specific efforts in Magnum.
+1
The API is my biggest worry here.
> I will also mention that it’s natural to be allergic to the idea of nested virtualization. We all know that creating multiple levels of hardware virtualization leads to bad performance outcomes. However, "nested containers" do not carry that same drawback, because the actual overhead of a Linux cgroup and Kernel Namespeaces are much lighter than a hardware virtualization. There are cases where having a container-in-container setup gives compelling benefits. That’s why I’ll argue vigorously for both Nova and Magnum to be able to produce container instances both at the machine level, and allow Magnum to produce "nested containers” to produce better workload consolidation density. in a setup with no hypervisors at all.
+1
Agreed nested containers are a thing.
Its a great reason to keep our LXC driver.
> To sum up, I strongly support merging in nova-docker, with the caveat that it operates within the existing Nova API (with few minor exceptions). For features that require API features that are truly container specific, we should land those in Magnum, and keep the Nova API scoped to operations that are appropriate for “all" instance types.
I am keen we set the right expectations here.
If you want to treat docker containers like VMs, thats OK.
I guess a remaining concern is the driver dropping into diss-repair if
most folks end up using Magnum when they want to use docker.
Thanks,
John
More information about the OpenStack-dev
mailing list