SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Copyright © 2015 Mirantis, Inc. All rights reserved
www.mirantis.com
Kolla
Containerizing the cloud itself
Michał Rostecki | OpenStack Software Engineer
mrostecki@mirantis.com
Copyright © 2015 Mirantis, Inc. All rights reserved
What is LXC (Linux Containers)?
LXC is isolation of Linux systems which separates resources,
filesystem, network namespace, but shares the common
kernel.
It’s based on cgroups which is kernel’s feature to limit
resources for processes.
It’s much more lightweight than virtualization.
Copyright © 2015 Mirantis, Inc. All rights reserved
What is Docker?
Docker is a RESTful API for containerization technologies.
One of them (and the main one) is LXC.
It provides layers for containers to utilize disk space when
different containers have a common base.
Copyright © 2015 Mirantis, Inc. All rights reserved
Problems that Docker solves
● Separation of applications which share common libraries
in different versions
● Upgradability of software
● “It worked on my machine”
● Possible differences in deployments due to i.e. packages
installation in different time
Copyright © 2015 Mirantis, Inc. All rights reserved
Typical Docker application
Cloud
Developer’s machine
Application
Database
Application
Message
queue
Database
Other app
Message
queue
Copyright © 2015 Mirantis, Inc. All rights reserved
But… what’s the cloud?
Cloud consists of a lot of hardware and a complicated
software which manages:
● Virtual machines
● Block or objective storage
● Networking
● Bare metal hardware
● Containers (running both on VM-s and bare metal)
Copyright © 2015 Mirantis, Inc. All rights reserved
OpenStack architecture
Copyright © 2015 Mirantis, Inc. All rights reserved
Problems of OpenStack
● Separation of OpenStack components which share
common libraries in different versions
● Upgradability of OpenStack
● “It worked on my devstack”, “It worked on my test env”
● Possible differences in deployments due to i.e. packages
installation in different time
Almost the same like for “usual” applications, but in much
bigger scale!
Copyright © 2015 Mirantis, Inc. All rights reserved
Docker solves them too!
That’s why Kolla project was created.
It provides Docker images with different OpenStack services.
Copyright © 2015 Mirantis, Inc. All rights reserved
What we containerized
● MariaDB
● RabbitMQ
● Ceph
● Openvswitch
● Memcached
● Keystone
● Glance
● Nova
● Cinder
● Swift
● Heat
● Horizon
Copyright © 2015 Mirantis, Inc. All rights reserved
Components of Kolla
● Docker images templates and builder - which supports
different Linux distributions (RH family and Debian
family) and types of OpenStack installation (from binary
packages or source)
● Ansible playbooks and modules, which generate config
files and deploy containers
Copyright © 2015 Mirantis, Inc. All rights reserved
Development in progress
● “Docker in Docker” - for testing multinode Kolla
deployments using only Docker, without VM-s
● Running OpenStack on Mesos - orchestration/scheduling
service for containers
● Storing OpenStack services configuration in ZooKeeper
Copyright © 2015 Mirantis, Inc. All rights reserved
Technologies
● Docker
● Python
● docker-py
● Jinja2
● Ansible modules
● Ansible
● ZooKeeper
● Mesos
● Pecan
Copyright © 2015 Mirantis, Inc. All rights reserved
docker-py
Docker-py is a Python client for Docker API.
Used by us for building Docker images.
Copyright © 2015 Mirantis, Inc. All rights reserved
Jinja2
Jinja2 is a templating engine for Python, which provides
environment (variables), forloops, “if” conditionals, blocks,
inheritance etc. into text files.
Mostly known by Flask (it’s a integrated part of it).
Commonly used in the other lightweight frameworks (often
as a standalone lib).
Copyright © 2015 Mirantis, Inc. All rights reserved
Ansible
Ansible is a configuration and orchestration system which
can deploy any kind of software. It uses SSH to connect to
the servers (it’s agentless).
It has module to run Docker containers on deployed hosts.
It’s written in Python and supports Python-based modules.
Copyright © 2015 Mirantis, Inc. All rights reserved
ZooKeeper
ZooKeeper is a key-value store used for keeping the
configuration of high-available services.
Copyright © 2015 Mirantis, Inc. All rights reserved
Mesos
Mesos is the container orchestration and scheduling service.
It can isolate applications by Docker or “vanilla” cgroups.
Exposes its API to users by frameworks. The main one is
Marathon, but Kubernetes is also supported as a framework.
Copyright © 2015 Mirantis, Inc. All rights reserved
Pecan
Pecan is a lightweight web framework. Based on WebOb.
Provides Mako templates.
Mostly used framework in OpenStack API-s. OpenStack doesn’
t use Pecan’s (Mako) templating - there are only JSON views.
Copyright © 2015 Mirantis, Inc. All rights reserved
Pecan vs Flask
Flask
● you have to use “app”
object in every view or
plugin - risk of circular
imports
● you have to define
routing “by hand”, with
string
Pecan
● you define “app” with
config once on server
running and don’t use it
anymore
● routing is discovered
dynamically
Copyright © 2015 Mirantis, Inc. All rights reserved
Pecan vs Flask
Flask
app.py
import flask
app = flask.Flask(__name__)
views.py
import flask
import app
@app.route(“/foo”):
flask.jsonify(foo=’bar’)
Pecan
app.py
import pecan
app = pecan.make_app(
‘controllers.RootController’)
controllers.py
class RootController(object):
foo = FooController()
[...]
Copyright © 2015 Mirantis, Inc. All rights reserved
Pecan vs Flask
Pecan has an app object with root controller defined. App
object is not needed to be called anywhere. Other controllers
are defined as attributes of the root one.
app
RootController
/
FooController
/foo
Copyright © 2015 Mirantis, Inc. All rights reserved
Pecan vs Flask
Flask has an app object which has to be used as a decorator
of every view and plugin.
app
root_view
/
foo_view
/foo
Copyright © 2015 Mirantis, Inc. All rights reserved
Contributors
Kolla is one of the most diverse OpenStack project in terms
of companies.
Copyright © 2015 Mirantis, Inc. All rights reserved
Contributors
Copyright © 2015 Mirantis, Inc. All rights reserved
Why OpenStack is needed here?
Why cannot be use Mesos without OpenStack? We need just
containers!
Copyright © 2015 Mirantis, Inc. All rights reserved
Why OpenStack is needed here?
The answer is networking and its isolation, which is not
present in Mesos and Docker itself, but is in OpenStack:
● Currently - OpenStack can separate containers by putting
them into different VM-s or bare metal servers, which
have different networks.
● In near future - OpenStack’s project Kuryr will bring
virtualized networking directly to Docker containers.
Copyright © 2015 Mirantis, Inc. All rights reserved
Q&A
Thank you for your attention

Contenu connexe

Tendances

OpenStack: Changing the Face of Service Delivery
OpenStack: Changing the Face of Service DeliveryOpenStack: Changing the Face of Service Delivery
OpenStack: Changing the Face of Service DeliveryMirantis
 
Build a Basic Cloud Using RDO-manager
Build a Basic Cloud Using RDO-managerBuild a Basic Cloud Using RDO-manager
Build a Basic Cloud Using RDO-managerK Rain Leander
 
ContainerDayVietnam2016: Containers with OpenStack
ContainerDayVietnam2016: Containers with OpenStackContainerDayVietnam2016: Containers with OpenStack
ContainerDayVietnam2016: Containers with OpenStackDocker-Hanoi
 
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin	Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin Vietnam Open Infrastructure User Group
 
Running and Managing Kubernetes on OpenStack
Running and Managing Kubernetes on OpenStackRunning and Managing Kubernetes on OpenStack
Running and Managing Kubernetes on OpenStackVictor Palma
 
OpenStack @ Workday - CI/CD
OpenStack @ Workday - CI/CDOpenStack @ Workday - CI/CD
OpenStack @ Workday - CI/CDEdgar Magana
 
OpenShift In a Nutshell - Episode 03 - Infrastructure part I
OpenShift In a Nutshell - Episode 03 - Infrastructure part IOpenShift In a Nutshell - Episode 03 - Infrastructure part I
OpenShift In a Nutshell - Episode 03 - Infrastructure part IBehnam Loghmani
 
Take an Analytics-driven Approach to Container Performance with Splunk for Co...
Take an Analytics-driven Approach to Container Performance with Splunk for Co...Take an Analytics-driven Approach to Container Performance with Splunk for Co...
Take an Analytics-driven Approach to Container Performance with Splunk for Co...Docker, Inc.
 
Role of sdn controllers in open stack
Role of sdn controllers in open stackRole of sdn controllers in open stack
Role of sdn controllers in open stackopenstackindia
 
Kubernetes 101 for Developers
Kubernetes 101 for DevelopersKubernetes 101 for Developers
Kubernetes 101 for DevelopersRoss Kukulinski
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...Daniel Krook
 
Kubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleKubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleStephen Gordon
 
Kubernetes 101 Workshop
Kubernetes 101 WorkshopKubernetes 101 Workshop
Kubernetes 101 WorkshopVishal Biyani
 
Orchestrating Docker Containers with Google Kubernetes on OpenStack
Orchestrating Docker Containers with Google Kubernetes on OpenStackOrchestrating Docker Containers with Google Kubernetes on OpenStack
Orchestrating Docker Containers with Google Kubernetes on OpenStackTrevor Roberts Jr.
 
Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Microsoft
 

Tendances (20)

OpenStack: Changing the Face of Service Delivery
OpenStack: Changing the Face of Service DeliveryOpenStack: Changing the Face of Service Delivery
OpenStack: Changing the Face of Service Delivery
 
OpenStack with OpenDaylight
OpenStack with OpenDaylightOpenStack with OpenDaylight
OpenStack with OpenDaylight
 
Build a Basic Cloud Using RDO-manager
Build a Basic Cloud Using RDO-managerBuild a Basic Cloud Using RDO-manager
Build a Basic Cloud Using RDO-manager
 
Devstack On Demand
Devstack On DemandDevstack On Demand
Devstack On Demand
 
Openstack ansible
Openstack ansibleOpenstack ansible
Openstack ansible
 
ContainerDayVietnam2016: Containers with OpenStack
ContainerDayVietnam2016: Containers with OpenStackContainerDayVietnam2016: Containers with OpenStack
ContainerDayVietnam2016: Containers with OpenStack
 
Building Containers: How Many Ways Are Too Many?
Building Containers: How Many Ways Are Too Many?Building Containers: How Many Ways Are Too Many?
Building Containers: How Many Ways Are Too Many?
 
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin	Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
 
Containers & Security
Containers & SecurityContainers & Security
Containers & Security
 
Running and Managing Kubernetes on OpenStack
Running and Managing Kubernetes on OpenStackRunning and Managing Kubernetes on OpenStack
Running and Managing Kubernetes on OpenStack
 
OpenStack @ Workday - CI/CD
OpenStack @ Workday - CI/CDOpenStack @ Workday - CI/CD
OpenStack @ Workday - CI/CD
 
OpenShift In a Nutshell - Episode 03 - Infrastructure part I
OpenShift In a Nutshell - Episode 03 - Infrastructure part IOpenShift In a Nutshell - Episode 03 - Infrastructure part I
OpenShift In a Nutshell - Episode 03 - Infrastructure part I
 
Take an Analytics-driven Approach to Container Performance with Splunk for Co...
Take an Analytics-driven Approach to Container Performance with Splunk for Co...Take an Analytics-driven Approach to Container Performance with Splunk for Co...
Take an Analytics-driven Approach to Container Performance with Splunk for Co...
 
Role of sdn controllers in open stack
Role of sdn controllers in open stackRole of sdn controllers in open stack
Role of sdn controllers in open stack
 
Kubernetes 101 for Developers
Kubernetes 101 for DevelopersKubernetes 101 for Developers
Kubernetes 101 for Developers
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
 
Kubernetes and OpenStack at Scale
Kubernetes and OpenStack at ScaleKubernetes and OpenStack at Scale
Kubernetes and OpenStack at Scale
 
Kubernetes 101 Workshop
Kubernetes 101 WorkshopKubernetes 101 Workshop
Kubernetes 101 Workshop
 
Orchestrating Docker Containers with Google Kubernetes on OpenStack
Orchestrating Docker Containers with Google Kubernetes on OpenStackOrchestrating Docker Containers with Google Kubernetes on OpenStack
Orchestrating Docker Containers with Google Kubernetes on OpenStack
 
Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015
 

En vedette

Openstack workshop @ Kalasalingam
Openstack workshop @ KalasalingamOpenstack workshop @ Kalasalingam
Openstack workshop @ KalasalingamBeny Raja
 
OpenStack: Changing the Face of Service Delivery
OpenStack: Changing the Face of Service DeliveryOpenStack: Changing the Face of Service Delivery
OpenStack: Changing the Face of Service DeliveryLew Tucker
 
Containers #101 Meetup: Containers & OpenStack
Containers #101 Meetup: Containers & OpenStack Containers #101 Meetup: Containers & OpenStack
Containers #101 Meetup: Containers & OpenStack Brittany Ingram
 
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...Rohit Agarwalla
 
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 SummitOpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 SummitLew Tucker
 
Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例kao kuo-tung
 
Managing Container Clusters in OpenStack Native Way
Managing Container Clusters in OpenStack Native WayManaging Container Clusters in OpenStack Native Way
Managing Container Clusters in OpenStack Native WayQiming Teng
 
Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)hongbin034
 
Docker and Puppet for Continuous Integration
Docker and Puppet for Continuous IntegrationDocker and Puppet for Continuous Integration
Docker and Puppet for Continuous IntegrationGiacomo Vacca
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStackopenstackindia
 
[Container world 2017] The Questions You're Afraid to Ask about Containers
[Container world 2017] The Questions You're Afraid to Ask about Containers[Container world 2017] The Questions You're Afraid to Ask about Containers
[Container world 2017] The Questions You're Afraid to Ask about ContainersDustin Kirkland
 

En vedette (12)

Openstack workshop @ Kalasalingam
Openstack workshop @ KalasalingamOpenstack workshop @ Kalasalingam
Openstack workshop @ Kalasalingam
 
OpenStack: Changing the Face of Service Delivery
OpenStack: Changing the Face of Service DeliveryOpenStack: Changing the Face of Service Delivery
OpenStack: Changing the Face of Service Delivery
 
Containers #101 Meetup: Containers & OpenStack
Containers #101 Meetup: Containers & OpenStack Containers #101 Meetup: Containers & OpenStack
Containers #101 Meetup: Containers & OpenStack
 
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
 
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 SummitOpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
 
Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例
 
BRKSDN-2115
BRKSDN-2115 BRKSDN-2115
BRKSDN-2115
 
Managing Container Clusters in OpenStack Native Way
Managing Container Clusters in OpenStack Native WayManaging Container Clusters in OpenStack Native Way
Managing Container Clusters in OpenStack Native Way
 
Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)Zun presentation (OpenStack Barcelona summit)
Zun presentation (OpenStack Barcelona summit)
 
Docker and Puppet for Continuous Integration
Docker and Puppet for Continuous IntegrationDocker and Puppet for Continuous Integration
Docker and Puppet for Continuous Integration
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStack
 
[Container world 2017] The Questions You're Afraid to Ask about Containers
[Container world 2017] The Questions You're Afraid to Ask about Containers[Container world 2017] The Questions You're Afraid to Ask about Containers
[Container world 2017] The Questions You're Afraid to Ask about Containers
 

Similaire à Kolla - containerizing the cloud itself

Docker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDr Ganesh Iyer
 
The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.Ihor Dvoretskyi
 
Linux Containers and Docker SHARE.ORG Seattle 2015
Linux Containers and Docker SHARE.ORG Seattle 2015Linux Containers and Docker SHARE.ORG Seattle 2015
Linux Containers and Docker SHARE.ORG Seattle 2015Filipe Miranda
 
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav TulachJDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav TulachPROIDEA
 
OpenShift In a Nutshell - Episode 05 - Core Concepts Part I
OpenShift In a Nutshell - Episode 05 - Core Concepts Part IOpenShift In a Nutshell - Episode 05 - Core Concepts Part I
OpenShift In a Nutshell - Episode 05 - Core Concepts Part IBehnam Loghmani
 
Running Cloudbreak on Kubernetes
Running Cloudbreak on KubernetesRunning Cloudbreak on Kubernetes
Running Cloudbreak on KubernetesKrisztián Horváth
 
Docker OpenStack Cloud Foundry
Docker OpenStack Cloud FoundryDocker OpenStack Cloud Foundry
Docker OpenStack Cloud FoundryAnimesh Singh
 
Microservices and Container
Microservices and ContainerMicroservices and Container
Microservices and ContainerWolfgang Weigend
 
Why kubernetes for Serverless (FaaS)
Why kubernetes for Serverless (FaaS)Why kubernetes for Serverless (FaaS)
Why kubernetes for Serverless (FaaS)Krishna-Kumar
 
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless  - Serverless Summit 2017 - Krishna KumarKubernetes for Serverless  - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless - Serverless Summit 2017 - Krishna KumarCodeOps Technologies LLP
 
Kubernetes for the PHP developer
Kubernetes for the PHP developerKubernetes for the PHP developer
Kubernetes for the PHP developerPaul Czarkowski
 
Micro services vs hadoop
Micro services vs hadoopMicro services vs hadoop
Micro services vs hadoopGergely Devenyi
 
presentation @ docker meetup
presentation @ docker meetuppresentation @ docker meetup
presentation @ docker meetupDaniël van Gils
 
Kubernetes Java Operator
Kubernetes Java OperatorKubernetes Java Operator
Kubernetes Java OperatorAnthony Dahanne
 
OpenSouthCode 2016 - Accenture DevOps Platform 2016-05-07
OpenSouthCode 2016  - Accenture DevOps Platform 2016-05-07OpenSouthCode 2016  - Accenture DevOps Platform 2016-05-07
OpenSouthCode 2016 - Accenture DevOps Platform 2016-05-07Jorge Hidalgo
 
Introducing Cloud Development with Project Shipped and Mantl: a deep dive
Introducing Cloud Development with Project Shipped and Mantl: a deep diveIntroducing Cloud Development with Project Shipped and Mantl: a deep dive
Introducing Cloud Development with Project Shipped and Mantl: a deep diveCisco DevNet
 

Similaire à Kolla - containerizing the cloud itself (20)

Docker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containers
 
The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.
 
Linux Containers and Docker SHARE.ORG Seattle 2015
Linux Containers and Docker SHARE.ORG Seattle 2015Linux Containers and Docker SHARE.ORG Seattle 2015
Linux Containers and Docker SHARE.ORG Seattle 2015
 
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav TulachJDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
JDD2015: Towards the Fastest (J)VM on the Planet! - Jaroslav Tulach
 
What is Docker?
What is Docker?What is Docker?
What is Docker?
 
OpenShift In a Nutshell - Episode 05 - Core Concepts Part I
OpenShift In a Nutshell - Episode 05 - Core Concepts Part IOpenShift In a Nutshell - Episode 05 - Core Concepts Part I
OpenShift In a Nutshell - Episode 05 - Core Concepts Part I
 
Docker with devops program
Docker with devops programDocker with devops program
Docker with devops program
 
Docker with devops program
Docker with devops programDocker with devops program
Docker with devops program
 
Running Cloudbreak on Kubernetes
Running Cloudbreak on KubernetesRunning Cloudbreak on Kubernetes
Running Cloudbreak on Kubernetes
 
Running Cloudbreak on Kubernetes
Running Cloudbreak on KubernetesRunning Cloudbreak on Kubernetes
Running Cloudbreak on Kubernetes
 
Docker OpenStack Cloud Foundry
Docker OpenStack Cloud FoundryDocker OpenStack Cloud Foundry
Docker OpenStack Cloud Foundry
 
Microservices and Container
Microservices and ContainerMicroservices and Container
Microservices and Container
 
Why kubernetes for Serverless (FaaS)
Why kubernetes for Serverless (FaaS)Why kubernetes for Serverless (FaaS)
Why kubernetes for Serverless (FaaS)
 
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless  - Serverless Summit 2017 - Krishna KumarKubernetes for Serverless  - Serverless Summit 2017 - Krishna Kumar
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
 
Kubernetes for the PHP developer
Kubernetes for the PHP developerKubernetes for the PHP developer
Kubernetes for the PHP developer
 
Micro services vs hadoop
Micro services vs hadoopMicro services vs hadoop
Micro services vs hadoop
 
presentation @ docker meetup
presentation @ docker meetuppresentation @ docker meetup
presentation @ docker meetup
 
Kubernetes Java Operator
Kubernetes Java OperatorKubernetes Java Operator
Kubernetes Java Operator
 
OpenSouthCode 2016 - Accenture DevOps Platform 2016-05-07
OpenSouthCode 2016  - Accenture DevOps Platform 2016-05-07OpenSouthCode 2016  - Accenture DevOps Platform 2016-05-07
OpenSouthCode 2016 - Accenture DevOps Platform 2016-05-07
 
Introducing Cloud Development with Project Shipped and Mantl: a deep dive
Introducing Cloud Development with Project Shipped and Mantl: a deep diveIntroducing Cloud Development with Project Shipped and Mantl: a deep dive
Introducing Cloud Development with Project Shipped and Mantl: a deep dive
 

Dernier

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 

Dernier (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 

Kolla - containerizing the cloud itself

  • 1. Copyright © 2015 Mirantis, Inc. All rights reserved www.mirantis.com Kolla Containerizing the cloud itself Michał Rostecki | OpenStack Software Engineer mrostecki@mirantis.com
  • 2. Copyright © 2015 Mirantis, Inc. All rights reserved What is LXC (Linux Containers)? LXC is isolation of Linux systems which separates resources, filesystem, network namespace, but shares the common kernel. It’s based on cgroups which is kernel’s feature to limit resources for processes. It’s much more lightweight than virtualization.
  • 3. Copyright © 2015 Mirantis, Inc. All rights reserved What is Docker? Docker is a RESTful API for containerization technologies. One of them (and the main one) is LXC. It provides layers for containers to utilize disk space when different containers have a common base.
  • 4. Copyright © 2015 Mirantis, Inc. All rights reserved Problems that Docker solves ● Separation of applications which share common libraries in different versions ● Upgradability of software ● “It worked on my machine” ● Possible differences in deployments due to i.e. packages installation in different time
  • 5. Copyright © 2015 Mirantis, Inc. All rights reserved Typical Docker application Cloud Developer’s machine Application Database Application Message queue Database Other app Message queue
  • 6. Copyright © 2015 Mirantis, Inc. All rights reserved But… what’s the cloud? Cloud consists of a lot of hardware and a complicated software which manages: ● Virtual machines ● Block or objective storage ● Networking ● Bare metal hardware ● Containers (running both on VM-s and bare metal)
  • 7. Copyright © 2015 Mirantis, Inc. All rights reserved OpenStack architecture
  • 8. Copyright © 2015 Mirantis, Inc. All rights reserved Problems of OpenStack ● Separation of OpenStack components which share common libraries in different versions ● Upgradability of OpenStack ● “It worked on my devstack”, “It worked on my test env” ● Possible differences in deployments due to i.e. packages installation in different time Almost the same like for “usual” applications, but in much bigger scale!
  • 9. Copyright © 2015 Mirantis, Inc. All rights reserved Docker solves them too! That’s why Kolla project was created. It provides Docker images with different OpenStack services.
  • 10. Copyright © 2015 Mirantis, Inc. All rights reserved What we containerized ● MariaDB ● RabbitMQ ● Ceph ● Openvswitch ● Memcached ● Keystone ● Glance ● Nova ● Cinder ● Swift ● Heat ● Horizon
  • 11. Copyright © 2015 Mirantis, Inc. All rights reserved Components of Kolla ● Docker images templates and builder - which supports different Linux distributions (RH family and Debian family) and types of OpenStack installation (from binary packages or source) ● Ansible playbooks and modules, which generate config files and deploy containers
  • 12. Copyright © 2015 Mirantis, Inc. All rights reserved Development in progress ● “Docker in Docker” - for testing multinode Kolla deployments using only Docker, without VM-s ● Running OpenStack on Mesos - orchestration/scheduling service for containers ● Storing OpenStack services configuration in ZooKeeper
  • 13. Copyright © 2015 Mirantis, Inc. All rights reserved Technologies ● Docker ● Python ● docker-py ● Jinja2 ● Ansible modules ● Ansible ● ZooKeeper ● Mesos ● Pecan
  • 14. Copyright © 2015 Mirantis, Inc. All rights reserved docker-py Docker-py is a Python client for Docker API. Used by us for building Docker images.
  • 15. Copyright © 2015 Mirantis, Inc. All rights reserved Jinja2 Jinja2 is a templating engine for Python, which provides environment (variables), forloops, “if” conditionals, blocks, inheritance etc. into text files. Mostly known by Flask (it’s a integrated part of it). Commonly used in the other lightweight frameworks (often as a standalone lib).
  • 16. Copyright © 2015 Mirantis, Inc. All rights reserved Ansible Ansible is a configuration and orchestration system which can deploy any kind of software. It uses SSH to connect to the servers (it’s agentless). It has module to run Docker containers on deployed hosts. It’s written in Python and supports Python-based modules.
  • 17. Copyright © 2015 Mirantis, Inc. All rights reserved ZooKeeper ZooKeeper is a key-value store used for keeping the configuration of high-available services.
  • 18. Copyright © 2015 Mirantis, Inc. All rights reserved Mesos Mesos is the container orchestration and scheduling service. It can isolate applications by Docker or “vanilla” cgroups. Exposes its API to users by frameworks. The main one is Marathon, but Kubernetes is also supported as a framework.
  • 19. Copyright © 2015 Mirantis, Inc. All rights reserved Pecan Pecan is a lightweight web framework. Based on WebOb. Provides Mako templates. Mostly used framework in OpenStack API-s. OpenStack doesn’ t use Pecan’s (Mako) templating - there are only JSON views.
  • 20. Copyright © 2015 Mirantis, Inc. All rights reserved Pecan vs Flask Flask ● you have to use “app” object in every view or plugin - risk of circular imports ● you have to define routing “by hand”, with string Pecan ● you define “app” with config once on server running and don’t use it anymore ● routing is discovered dynamically
  • 21. Copyright © 2015 Mirantis, Inc. All rights reserved Pecan vs Flask Flask app.py import flask app = flask.Flask(__name__) views.py import flask import app @app.route(“/foo”): flask.jsonify(foo=’bar’) Pecan app.py import pecan app = pecan.make_app( ‘controllers.RootController’) controllers.py class RootController(object): foo = FooController() [...]
  • 22. Copyright © 2015 Mirantis, Inc. All rights reserved Pecan vs Flask Pecan has an app object with root controller defined. App object is not needed to be called anywhere. Other controllers are defined as attributes of the root one. app RootController / FooController /foo
  • 23. Copyright © 2015 Mirantis, Inc. All rights reserved Pecan vs Flask Flask has an app object which has to be used as a decorator of every view and plugin. app root_view / foo_view /foo
  • 24. Copyright © 2015 Mirantis, Inc. All rights reserved Contributors Kolla is one of the most diverse OpenStack project in terms of companies.
  • 25. Copyright © 2015 Mirantis, Inc. All rights reserved Contributors
  • 26. Copyright © 2015 Mirantis, Inc. All rights reserved Why OpenStack is needed here? Why cannot be use Mesos without OpenStack? We need just containers!
  • 27. Copyright © 2015 Mirantis, Inc. All rights reserved Why OpenStack is needed here? The answer is networking and its isolation, which is not present in Mesos and Docker itself, but is in OpenStack: ● Currently - OpenStack can separate containers by putting them into different VM-s or bare metal servers, which have different networks. ● In near future - OpenStack’s project Kuryr will bring virtualized networking directly to Docker containers.
  • 28. Copyright © 2015 Mirantis, Inc. All rights reserved Q&A Thank you for your attention