docker with openstack

Post on 12-Jul-2015

1.230 Views

Category:

Internet

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Docker / OpenStackOpenStack Meetup Paris

Chmouel Boudjnah // @chmouel@enovance

About Docker

Docker use cases

Image from http://goo.gl/6wWPyL @flux9

Paas + Iaas

Paas IaasDocker

OpenStack and

Docker use cases.

Docker with OpenStack use case

Zone Baremetal Zone Docker Zone Virtualized

GlanceNova API

User

Docker with OpenStack use case

VMs VMs VMs VMs

Container Container Container

BM BM BM

Docker with OpenStack APP

Containerized App Containerized App Containerized App

Management Server “Legacy” App “Legacy” App

BM App BM App

OpenStack

Integration

OpenStack integration: History

● Excitement about the integration in the

beginning.

● Started to get shipped with Havanna (Sept

2013)

● Devstack, Glance, Integration

● Removed in Icehouse

● Heat plugin in-tree.

Heat

Hot

Nova Resource

Docker Resource

Nova VM

Docker API server

Container1

Container2

Heat

Hot

Nova Resource

Docker Resource

Nova VM

Docker API server

Container1

Container2

Neutron Resource

Block Storage Resource

Trove/Zaquar etc….

Concrete Heat Example

http://techs.enovance.com/7104/multi-tenant-docker-with-openstack-heat

Nova

● First class Hypervisor for Nova, the same driver you can

have for libvirt/xen or others you have it for docker.

● Sitting in Stackforge it allowed to reach maturity outside

the core project.

● Lack of integration with Cinder and Neutron.

● Allow you to orchestrate your containers directly via the

Nova API or its UI Horizon.

Nova: Supported Operations

● Launch

● terminate

● Reboot

● Serial console

● Snapshot

● Guess Info

● Pause/Unpause

https://wiki.openstack.org/wiki/HypervisorSupportMatrix

Glance

Back in Havana and Icehouse user

had to go by the docker-registry to

add new image which would be

passed down to glance.

Now the process is much more

streamlined, the docker registry

can export directly to Glance.

Magnum: Containers as a Service

● Operating under the OpenStack Compute Board.

● A proposal discussed for quite some time.

● It would be the Nova of containers (and not just

Docker)

● It could use Nova to spawn containers in Nova.

● It would expose multi tenancy to the container

services which is inherently local to the instance.

● Integration with Kubernetes and Docker for

backend container technology.

● Those instance can be VMs, Baremetal or even

Containers

Kolla: Docker + OpenStack + Kubernetes

● Deploy OpenStack in Containers via Kubernetes.

● OpenStack as the OpenStack services like heat, glance,

nova, keystone etc..

● Started to ‘Dockerize’ all the images.

● Wrote service definitions for Kubernetes.

● Minimal feature sets implemented to be able to launch a VM

in a Kubernetes deployed Cloud.

Solum: OpenStack native Paas

You probably know everything about it by now.

Holidays wishlist gift.

● Native Cinder Support to Docker

● Native Neutron Support for Docker

● Native Keystone Support for auth in Docker

● Magnum MVP in Kilo.

● Support for containers in Devstack.

● Docker exec feature in Heat.

Fin

Chmouel Boudjnah @chmouel

top related