12
Kolla: Docker, Kubernetes & Atomic Ken Thompson Senior Cloud Solution Architect May 2015 Deploying OpenStack Services with Linux Containers

Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

Embed Size (px)

Citation preview

Page 1: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

Kolla: Docker, Kubernetes & Atomic

Ken ThompsonSenior Cloud Solution ArchitectMay 2015

Deploying OpenStack Services with Linux Containers

Page 2: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

INSERT DESIGNATOR, IF NEEDED 2

“The Kolla Project is part of the OpenStack TripleO effort,

focussed on deploying OpenStack services using

Docker containers”

Page 3: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

INSERT DESIGNATOR, IF NEEDED3

Discrete services, when combined providing private cloud capabilities

OPENSTACK IN THEORY

Page 4: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

INSERT DESIGNATOR, IF NEEDED4

Not so discrete services... with complex interdependencies, which complicates the deployment and lifecycle of OpenStack environments

OPENSTACK IN REALITY

Page 5: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

Journey to the Cloud with Red Hat – Technical Event Series – May 20155

HOW CONTAINERS HELPPackaging OpenStack services with their runtime dependencies reduces deployment and lifecycle complexities

● Easy to deploy and portable across host systems

● Isolates applications on a host operating system

● In RHEL, this is done through:● Control Groups (cgroups)● Kernel namespaces● SELinux, sVirt, iptables● Docker

HOST OS

SERVER

CONTAINER

LIBS

APP

Page 6: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

Journey to the Cloud with Red Hat – Technical Event Series – May 20156

TRADITIONAL OS VS. CONTAINERS

Traditional OS Containers

HARDWARE

HOST OS

HARDWARE

HOST OS

CONTAINER

LIBS

NOVA

LIBS A LIBS B LIBS LIBS

NOVACONTAINER

LIBS

CINDER

Packaged dependencies = faster boot times + greater portability

CINDER

Page 7: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

INSERT DESIGNATOR, IF NEEDED7

PUTTING IT ALL TOGETHORLeveraging best of breed container technologies

CONTAINER FORMAT WITH DOCKER

● Interface for communications, configuration, data persistence, provisioning

● Lightweight

● Packaged dependencies

● Content & Infrastructure agnostic

ORCHESTRATION WITH KUBERNETES

● Orchestrate containers at scale

● Define application topologies

● Handle container networking

● Manage container state

● Schedule across hosts

CONTAINER HOSTING WITH ATOMIC

● Lightweight

● Atomic updates and rollbacks

● Security & Isolation (cgroups, namespaces, selinux, svirt, selinux, iptables etc)

● Provides portability across systems

Page 8: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

INSERT DESIGNATOR, IF NEEDED8

COMMUNITIES & FURTHER INFOGo forth, experiment & contribute!

https://launchpad.net/kolla

https://github.com/stackforge/kolla

https://github.com/projectatomic

https://github.com/googlecloudplatform/kubernetes

https://github.com/larsks/heat-kubernetes

http://Projectatomic.io

http://Kubernetes.io

http://www.openshift.org/

http://www.allthingsopen.com

Page 9: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

INSERT DESIGNATOR, IF NEEDED 9

THANK [email protected]

plus.google.com/+RedHat

linkedin.com/company/red-hat

youtube.com/user/RedHatVideos

facebook.com/redhatinc

twitter.com/RedHatNews

Page 10: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

INSERT DESIGNATOR, IF NEEDED 10

APPENDIX

Page 11: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

11

Linux kernel(cgroups, namespaces, SELinux,

devicemapper filesystem)

docker

atomic

Red Hat Enterprise Linux Atomic Host

atomic

Systemd / journald

kubernetes

docker

atomic

Red Hat Enterprise Linux Atomic Host

atomic

Systemd / journald

Linux kernel(cgroups, namespaces, SELinux,

devicemapper filesystem)

Running linux containers requires an entire stack rooted in the Operating System

RHEL ATOMIC HOST

Page 12: Deploying OpenStack Services with Linux Containers - Brisbane OpenStack Meetup overview of Project Kolla

INSERT DESIGNATOR, IF NEEDED12

KubernetesDeclarative container orchestration