who carries your container? zun or magnum?
TRANSCRIPT
Who Carries your Containers?Zun or Magnum ?
OpenSource India 2016Madhuri Kumari, Shubham Kumar Sharma
Agenda• Containers in OpenStack• Magnum : History• Magnum : Current State Role• Introduction to Zun• Zun Architecture• Zun Concepts• Comparison: Magnum or Zun• When to use what ?• Zun Demo
Containers in OpenStack• Openstack Containers team was initially formed in
May 2014 with a vision for advancing container technology in existing OpenStack services.
• Provide consistent experience as VMs in Openstack.
Containers on OpenStack: Case 1
OpenStack
Nova Instance (container)
Hypervisor / Container Runtime
Compute Network Storage
Nova Instance (VM)
Containers on OpenStack: Case 2
OpenStack
Nova Instance (VM)
Container
Hypervisor
Compute Network Storage
Nova Instance (VM)
Container Container Container
Containers on OpenStack: Case 3
OpenStack
Nova Instance (VM)
Container
Hypervisor
Compute Network Storage
Nova Instance (VM)
Container Container Container
Container Orchestration Engine (COE)
OpenStack Container Ecosystem
Kubernetes/Swarm/Docker
Deployment(Magnum)
Authentication(Keystone)
Zun
Monitoring(Telemetry?)
Images(Glance?) Fuxi Kuryr
Storage(Cinder)
Network(Neutron)
OpenStack API
Native API
OpenStack Container ProjectsNova-docker
A Docker hypervisor driver for Nova Compute to treat containers and images as the same type of resource as virtual machines.
Heat DockerA plugin template fororchestrating Docker resources on top of OpenStack resources. Allows access to full Docker API.
MuranoProvides an application catalog of containerized applications that can be deployed to an OpenStack cloud.
MagnumProvides an API to manage multitenant containers infrastructure leveraging Heat, Nova, and Neutron.
ZunContainer service for OpenStack. Provides API(s) for launching and managing containers backed by different container technologies.
SolumAn OpenStack project designed to make cloud services easier to consume and integrate into your application development process.
KollaKolla provides production-ready containers and deployment tools for operating OpenStack clouds.
KuryrA Docker network plugin that uses Neutron to provide networking services to Docker containers. It provides containerised images for the common Neutron plugins.
Magnum• Magnum is an OpenStack API service making container
orchestration engines such as Docker Swarm, Kubernetes, and Apache Mesos available as first class resources in OpenStack.
Container Infrastructure Management service
Provide a set of services for provisioning, scaling, and managing Container Orchestration Engines (COEs).
Container ServiceProvide a set of services for management of application containers in a multi-
tenant cloud environment.
Zun Evolution
Magnum (M Release)
Bay
Baymodel
Container
Pod
Service
Replication Controller
Magnum (N Release)
Bay/Cluster
Baymodel/ClusterTemplate
ZunContainer
Zun Introduction
• Abstracts container life-cycle management• Single API across different container
technologies• Integrate containers with OpenStack
– Keystone– Nova– Neutron– Glance– Horizon– Cinder
Zun Architecture
Zun API Zun ComputeZun Compute
Zun ComputeDriver
DriverDriver
Container ContainerContainer
COE / Runtime
Container Driver
Image Driver
Storage Driver
Network Driver
Why Zun?• OpenStack-native APIs
– Simple– Container-Oriented– Technology agnostic
• Common infrastructure for VMs, baremetal and containers– Common access control and roles management– Common networking layer– Common storage pool– Common images management– Single CLI / UI– Single orchestration template for VMs and containers
• No container hosts management
Zun vs Magnum
Containers
DRM
Tenant-1
Virtualization
Baremetal
Containers
DRM
Tenant-2
Containers
DRM
Tenant-3
Containers
Tenant-1
Containers
Tenant-2
Containers
Tenant-3
DRM
Virtualization?
Baremetal
Magnum Zun
When to use What?Use Magnum When You Want
– OpenStack to give you infrastructure for container management
– To provision your containers by yourself
Use Zun When You Want– OpenStack to provision your containers– OpenStack to manage your containers for basic
operations
DEMO
Any Query Hanging around in your mind?