17
Who Carries your Containers? Zun or Magnum ? OpenSource India 2016 Madhuri Kumari, Shubham Kumar Sharma

Who carries your container? Zun or Magnum?

Embed Size (px)

Citation preview

Page 1: Who carries your container? Zun or Magnum?

Who Carries your Containers?Zun or Magnum ?

OpenSource India 2016Madhuri Kumari, Shubham Kumar Sharma

Page 2: Who carries your container? Zun or Magnum?

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

Page 3: Who carries your container? Zun or Magnum?

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.

Page 4: Who carries your container? Zun or Magnum?

Containers on OpenStack: Case 1

OpenStack

Nova Instance (container)

Hypervisor / Container Runtime

Compute Network Storage

Nova Instance (VM)

Page 5: Who carries your container? Zun or Magnum?

Containers on OpenStack: Case 2

OpenStack

Nova Instance (VM)

Container

Hypervisor

Compute Network Storage

Nova Instance (VM)

Container Container Container

Page 6: Who carries your container? Zun or Magnum?

Containers on OpenStack: Case 3

OpenStack

Nova Instance (VM)

Container

Hypervisor

Compute Network Storage

Nova Instance (VM)

Container Container Container

Container Orchestration Engine (COE)

Page 7: Who carries your container? Zun or Magnum?

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

Page 8: Who carries your container? Zun or Magnum?

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.

Page 9: Who carries your container? Zun or Magnum?

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.

Page 10: Who carries your container? Zun or Magnum?

Zun Evolution

Magnum (M Release)

Bay

Baymodel

Container

Pod

Service

Replication Controller

Magnum (N Release)

Bay/Cluster

Baymodel/ClusterTemplate

ZunContainer

Page 11: Who carries your container? Zun or Magnum?

Zun Introduction

• Abstracts container life-cycle management• Single API across different container

technologies• Integrate containers with OpenStack

– Keystone– Nova– Neutron– Glance– Horizon– Cinder

Page 12: Who carries your container? Zun or Magnum?

Zun Architecture

Zun API Zun ComputeZun Compute

Zun ComputeDriver

DriverDriver

Container ContainerContainer

COE / Runtime

Container Driver

Image Driver

Storage Driver

Network Driver

Page 13: Who carries your container? Zun or Magnum?

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

Page 14: Who carries your container? Zun or Magnum?

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

Page 15: Who carries your container? Zun or Magnum?

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

Page 16: Who carries your container? Zun or Magnum?

DEMO

Page 17: Who carries your container? Zun or Magnum?

Any Query Hanging around in your mind?