docker with openstack

21
Docker / OpenStack OpenStack Meetup Paris Chmouel Boudjnah // @chmouel @enovance

Upload: chmouel

Post on 12-Jul-2015

1.230 views

Category:

Internet


2 download

TRANSCRIPT

Page 1: Docker with OpenStack

Docker / OpenStackOpenStack Meetup Paris

Chmouel Boudjnah // @chmouel@enovance

Page 2: Docker with OpenStack

About Docker

Page 3: Docker with OpenStack

Docker use cases

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

Page 4: Docker with OpenStack

Paas + Iaas

Paas IaasDocker

Page 5: Docker with OpenStack

OpenStack and

Docker use cases.

Page 6: Docker with OpenStack

Docker with OpenStack use case

Zone Baremetal Zone Docker Zone Virtualized

GlanceNova API

User

Page 7: Docker with OpenStack

Docker with OpenStack use case

VMs VMs VMs VMs

Container Container Container

BM BM BM

Page 8: Docker with OpenStack

Docker with OpenStack APP

Containerized App Containerized App Containerized App

Management Server “Legacy” App “Legacy” App

BM App BM App

Page 9: Docker with OpenStack

OpenStack

Integration

Page 10: Docker with OpenStack

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.

Page 11: Docker with OpenStack

Heat

Hot

Nova Resource

Docker Resource

Nova VM

Docker API server

Container1

Container2

Page 12: Docker with OpenStack

Heat

Hot

Nova Resource

Docker Resource

Nova VM

Docker API server

Container1

Container2

Neutron Resource

Block Storage Resource

Trove/Zaquar etc….

Page 13: Docker with OpenStack

Concrete Heat Example

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

Page 14: Docker with OpenStack

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.

Page 15: Docker with OpenStack

Nova: Supported Operations

● Launch

● terminate

● Reboot

● Serial console

● Snapshot

● Guess Info

● Pause/Unpause

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

Page 16: Docker with OpenStack

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.

Page 17: Docker with OpenStack

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

Page 18: Docker with OpenStack

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.

Page 19: Docker with OpenStack

Solum: OpenStack native Paas

You probably know everything about it by now.

Page 20: Docker with OpenStack

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.

Page 21: Docker with OpenStack

Fin

Chmouel Boudjnah @chmouel