OpenStack Magnum

Preview:

Citation preview

OPENSTACK MAGNUMAdrian Otto, Distinguished Architect

2

Outl ine

Carina: A use-case for Magnum at RackspaceWhat Rackspace did with OpenStack to offer containers as a hosted service.

History and Overview of OpenStackHow we got here, and what OpenStack is today.

Container Orchestration EnginesWhy different orchestration engines exist for containers, and where they shine.

MagnumWhat Magnum is all about.

3

2010: OpenStack is Born

+ =

www.rackspace.com !4

www.rackspace.com

$0

$1,000

$2,000

$3,000

$4,000

2013 2014 2015 2016 2017 2018!5

The OpenStack Market ($M)

40% CAGR

Rackspace #1 Market Share

Source: 451 Group, 2014

OP

EN

STA

CK

S

ER

VIC

ES

KeystoneGlanceNova

NeutronSwiftCinder Designate Ironic

HorizonBarbicanCielometer

SaharaTroveHeat Magnum Marconi Murano

Layer 4: Consumption Services

Layer 3: Optional Enhancements

Layer 2: Extended Infrastructure

Layer 1: Base Compute Infrastructure

Solum

7

Outl ine

Carina: A use-case for Magnum at RackspaceWhat Rackspace did with OpenStack to offer containers as a hosted service.

History and Overview of OpenStackHow we got here, and what OpenStack is today.

Container Orchestration EnginesWhy different orchestration engines exist for containers, and where they shine.

MagnumWhat Magnum is all about.

LIQUIDS TAKE ON THE SHAPE OF THEIR CONTAINER. THE LIQUID STATE OF MATTER IS AN INTERMEDIATE PHASE BET WEEN SOLID AND GAS. LIKE THE PARTICLES OF A SOLID, PARTICLES IN A LIQUID ARE SUBJECT TO INTERMOLECULAR ATTRACTION; HOWEVER, LIQUID PARTICLES HAVE MORE SPACE BET WEEN THEM, SO THEY ARE NOT FIXED IN POSITION.

PROPERTIES OF MATTER: L IQUIDS

Image FPO

42

MAKE A BIGGER CONTAINER?

Image FPO

‹#›11

O p e n P O W E R a n d O p e n C o m p u t e

3 . 1 - 4 . 1 G H z C P U

~ 2 0 0 G i B / s e c M e m o r y B a n d w i d t h

> 2 0 0 M i B C a c h e

1 2 8 - 1 9 2 C P U T h r e a d s U p t o 2 T i B o f R A M

BARRELEYE

Image FPO

12

B i g g e r h a r d w a r e a l l o w s f o r b i g g e r s o f t w a r e44

APPLICATION CONTAINERS

APPLICATION CONTAINERS

MORE COMPUTE

CONTAINERS ARE DISRUPTIVE

An easy-to-use and instant-on

native container environment.

getcarina.com Free Beta available today.

18

CONTAINER ADOPTION CAN BE COMPLICATED

getcarina.comTRY IT NOW FOR FREE

19

WE’VE MADE IT SIMPLE

getcarina.comTRY IT NOW FOR FREE

24

WE’VE MADE IT SIMPLE

getcarina.comTRY IT NOW FOR FREE

25

BARE METAL PERFORMANCE

getcarina.comTRY IT NOW FOR FREE

26

NATIVE API EXPERIENCE

getcarina.comTRY IT NOW FOR FREE

28

Outl ine

Carina: A use-case for Magnum at RackspaceWhat Rackspace did with OpenStack to offer containers as a hosted service.

History and Overview of OpenStackHow we got here, and what OpenStack is today.

Container Orchestration EnginesWhy different orchestration engines exist for containers, and where they shine.

MagnumWhat Magnum is all about.

BARE METALVM

DOCKER

OPENSTACK

KUBERNETES

MESOS

MAGNUM

DOCKER API

K8S API

MAGNUM OVERVIEW

M a g n u m S t a t i s t i c s , S t a t u s , a n d D i v e r s i t y

www.rackspace.com

6039patch sets

1589commits

275,601lines of code

1year

133engineers

34affiliations

2015-01-20released

OpenStack Magnum’s Top Contr ibutors

31

Prior Ar t

• libvirt/LXC virt driver for Nova

• Nova-Docker virt driver for Nova

• Heat Resource for Docker

32

Magnum Rat ionale

33

Containers Nova Instances

Create

Delete

Resize

Restart

Attach Vol

Kill

Start

Set Env Var

Bind Volume

Attach Term

Exec

Processes Machines

Different Lifecycle

Different API

Cloud operators assume a r isk when select ing a s ingle c loud technology today… but OpenStack is d i f ferent .

34

Native APIs are not just a good idea, they are ESSENTIAL.

35

Understanding Magnum Resources (1/2)

• Click to edit Master text styles – Second level • Third level – Fourth level o Fifth level

36

Container

Bay

Node

All Magnum Bays

Understanding Magnum Resources (2/2)

• Click to edit Master text styles – Second level • Third level – Fourth level o Fifth level

37

Container

Bay

NodeKubernetes Bays

Pod

Service

Magnum Dif ferent iators

38

Magnum is First

HTTP/1.1 201 Created

Not Re-Implementing Orchestration

SSO Experience for Cloud Users

Multi-Tenant Control and Data Planes

Asynchronous API

Uses OpenStack Orchestration (Heat)

Uses OpenStack Identity (Keystone)

Image FPO

‹#›39

F e a t u r e s a d d e d i n L i b e r t y

13

WHAT’S NEW

New Features in L iber ty Release

• Apache Mesos

• Marathon Framework

• REST API

Mesos Bay Type (Multi-Tenancy)

• TLS Between Client and Magnum API

• TLS Between Bay Master and Minion/Slave/Worker

• Certificate generation/signing

• docker / kubectl TLS interoperability

Secure Bays (TLS)

• Neutron LBaaS Integration

• Automatically add or remove nodes from Neutron LB when Kubernetes bay is scaled

External Load Balancer Support

• Easy setup of multi-master configuration for Kubernetes

• Suitable for HA configurations

Multi-Master Kubernetes

40

41

Review

Carina: A use-case for Magnum at RackspaceWhat Rackspace did with OpenStack to offer containers as a hosted service.

History and Overview of OpenStackHow we got here, and what OpenStack is today.

Container Orchestration EnginesWhy different orchestration engines exist for containers, and where they shine.

MagnumWhat Magnum is all about.

DOCKER SWARM

Swarm Manager

Swarm Node

Docker Client

Docker Daemon

Swarm Node

Docker Daemon

Swarm Node

Docker Daemon

Swarm Daemon

Discovery Service

KUBERNETESNode

Docker

Kubelet Proxy

REST API

AuthScheduler

Node

Docker

Kubelet Proxy

Node

Docker

Kubelet Proxy

APACHE MESOS

Mesos Master

StandbyZK

StandbyZK

Mesos Slave

Framework A

Executor

Task

Mesos Slave

Framework B

Executor

Task

LeaderZK

45

Review

Carina: A use-case for Magnum at RackspaceWhat Rackspace did with OpenStack to offer containers as a hosted service.

History and Overview of OpenStackHow we got here, and what OpenStack is today.

Container Orchestration EnginesWhy different orchestration engines exist for containers, and where they shine.

MagnumWhat Magnum is all about.

Python OpenStack EngineersC, C++ Linux Systems EngineersRuby DevOps Engineers

C#, .NET Java

Full Stack Developers Web Developers

JavaScript, CSS, HTML Software Developer in TestAngular.JS, Ember.js, Node.js Security Engineers

Restful/JSON/XML Data ScientistClosure, Scala, Erlang

Hadoop, MongoDB, MySQLSolutions Architects

Software Dev. ManagersStrategic Account Executive

Field Sales Specialist MS Azure SA, Virtualization & Support

Technical Trainer

We’re Hiring

O N E FA N AT I C A L P L A C E | S A N A N T O N I O , T X 7 8 2 1 8

U S S A L E S : 1 - 8 0 0 - 9 6 1 - 2 8 8 8 | U S S U P P O R T: 1 - 8 0 0 - 9 6 1 - 4 4 5 4 | W W W . R A C K S PA C E . C O M | W W W . G E T C A R I N A . C O M

© RAC K S PAC E LT D . | RAC K S PAC E® AN D FAN AT I C AL S U P P ORT ® ARE S ERV I C E M ARK S OF RAC K S PAC E U S , I N C . REG I ST ERED I N T HE U N I T ED STAT ES AN D OT HER C OU N T RI ES . | W W W.RAC KS PAC E .C OM

Thank you

Recommended