SlideShare a Scribd company logo
1 of 25
Download to read offline
Magnum is not the
OpenStack
Container Service?
How about Zun
Hongbin Lu (Huawei)
Qiming Teng (IBM)
Eli Qiao (Intel)
Madhuri Kumari (Intel)
Agenda
● Containers on OpenStack
● Magnum
● Zun
● Demo
Containers on OpenStack
OpenStack
ContainerNova Instance (container)
Hypervisor (Container Runtime)
Compute Network Storage
Nova Instance (container)
Nova
Containers on OpenStack
OpenStack
Nova Instance (VM)
Container
Hypervisor
Compute Network Storage
Nova Instance (VM)
Container Container Container
Nova
Containers on OpenStack
OpenStack
Nova Instance (VM)
Container
Hypervisor
Compute Network Storage
VMNova Instance (VM)
Container Container Container
Container Orchestration Engine (COE)
Nova
Containers on OpenStack
COE (Kubernetes, Swarm, etc.)
Deployment
(Magnum)
Authentication
(Keystone)
Zun
Images
(Glance?)
Fuxi
Storage
(Cinder)
Network
(Neutron)
Kuryr
Monitoring
(Telemetry?)
OpenStack API
Native API
Agenda
● Containers on OpenStack
● Magnum
● Zun
● Demo
Introduction to Magnum
Nova
Magnum
Nova Instances
Kubernetes
Swarm
Mesos
Containers
Introduction to Magnum
● Provisioning
○ Kubernetes
○ Docker Swarm
○ Mesos
● Scaling
○ Add instances
○ Remove instances
● Security
○ Serve as Certificate Authority (CA)
○ Generate Keystone users
COE (Kubernetes,
Swarm, etc.)
Magnum
Keystone
Zun
Images
(Glance?)
Fuxi
Cinder Neutron
Kuryr
Monitoring
(Telemetry?)
OpenStack
API
Native API
Magnum Mission Statement Update
Containers service
Provide a set of services for management of application containers in a
multi-tenant cloud environment.
Container Infrastructure Management service
Provide a set of services for provisioning, scaling, and managing Container
Orchestration Engines (COEs).
Magnum (M release)
Magnum Mission Statement Update
Bay
Baymodel
Container
Pod
Service
Replication
Controller
Magnum (N release)
Bay
Baymodel
Zun
Container
Agenda
● Containers on OpenStack
● Magnum
● Zun
● Demo
What is Zun?
● Abstract container life-cycle
management
● Simple API across different
container technologies
● Deep Integrate with OpenStack
○ Keystone
○ Nova
○ Neutron
○ Glance
○ Horizon
COE (Kubernetes, Swarm,
etc.)
Magnum
Keystone
Zun
Images
(Glance?)
Fuxi
Cinder Neutron
Kuryr
Monitoring
(Telemetry?)
OpenStack
API
Native API
Why Zun?
VMs Containers
Create
List
Delete
Run
Exec
...
Rebuild
SSH
Migrate
...
Nova Zun
Why Zun?
Baremetal
Tenant 1
Virtualization
Tenant 2 Tenant 3
COE
Baremetal
Tenant 1
Virtualization ?
Tenant 2 Tenant 3
Containers
ZunCOE COE
Containers Containers Containers Containers Containers
Magnum Zun
Why Zun?
● OpenStack-native APIs
○ Simple
○ Container-oriented
○ Technology-agnostic
● Common infrastructure for VMs, baremetals, and containers
○ Common access control and roles management
○ Common network abstraction layer
○ Common images management
○ Single CLI / UI
○ Single orchestration template for VMs and containers
● No cluster provisioning & management
Architecture
Zun API Zun Compute
Zun Compute
Zun Compute
Driver
Driver
Driver
Container ContainerContainer
COE / Runtime
Sandbox
Concepts
● Container
○ A Linux container (i.e. Docker container)
○ Run inside a sandbox
● Sandbox
○ Contain one or multiple containers
○ A placeholder for containers
○ Create an isolated environment
○ Contain network interface(s) and volume(s)
○ Enforce resource constraints (i.e. cpu, memory)
Container
Container
eth0 Volumn
IP
What Exactly is Sandbox?
● Sandbox can be interpreted differently
○ Could be a set of Linux namespaces
○ Could be a VM (i.e. hypervisor-based runtime)
○ Could be a pod (i.e. Kubernetes)
● Our first implementation
○ A container is a Docker container
○ A sandbox is also a Docker container
○ Create a Docker container will automatically create a Docker sandbox
● Potential improvements
○ Allow multiple containers in a single sandbox
Create a Docker Container
1. Create a Docker sandbox
$ docker run -d --name mybox kubernetes/pause
2. Create a container by using the sandbox
$ docker run -d --net container:mybox 
--ipc container:mybox 
--pid container:mybox 
--volumes-from mybox 
...
Why Introduce Sandbox?
● Define a group of containers that are
○ Co-located and Co-scheduled
○ Share network namespace
○ Share volume
○ Share resource limits
● Decouple containers from resources management
○ Containers are managed by Zun
○ Sandbox are managed by Nova (with Docker virt driver)
Compute Host
Create a Docker Container
NovaZun
Compute Host
Sandbox
Container
Zun
Compute
Nova
Compute
Docker Driver
1
2
3
4
5
6
7
1. End-user requests to create
a container
2. Zun requests Nova to
create a sandbox instance
3. Nova forwards the request
to Nova Compute
4. Nova Compute forwards
the request to a
Zun-provided virt driver
5. The virt driver create the
sandbox
6. Zun requests Zun Compute
to create a container
7. A container is created
inside the sandbox
Container Image
● Consistent API to manage container
images
● Support multiple storage backend
○ Glance (stored as a tar file)
○ Docker Hub
○ Private Docker Registry
● Pluggable design
○ Easy to add support for additional image
backend
Zun
Driver
DriverImage
Driver
Glance
Docker
Hub
Agenda
● Containers on OpenStack
● Magnum
● Zun
● Demo
Demo
https://www.youtube.com/watch?v=umcok662jkM

More Related Content

What's hot

PromQL Deep Dive - The Prometheus Query Language
PromQL Deep Dive - The Prometheus Query Language PromQL Deep Dive - The Prometheus Query Language
PromQL Deep Dive - The Prometheus Query Language Weaveworks
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftKubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftDevOps.com
 
Introduction to Kubernetes and Google Container Engine (GKE)
Introduction to Kubernetes and Google Container Engine (GKE)Introduction to Kubernetes and Google Container Engine (GKE)
Introduction to Kubernetes and Google Container Engine (GKE)Opsta
 
Kubernetes Architecture - beyond a black box - Part 1
Kubernetes Architecture - beyond a black box - Part 1Kubernetes Architecture - beyond a black box - Part 1
Kubernetes Architecture - beyond a black box - Part 1Hao H. Zhang
 
ProxySQL on Kubernetes
ProxySQL on KubernetesProxySQL on Kubernetes
ProxySQL on KubernetesRené Cannaò
 
Introduction to docker swarm
Introduction to docker swarmIntroduction to docker swarm
Introduction to docker swarmWalid Ashraf
 
Storage as a service and OpenStack Cinder
Storage as a service and OpenStack CinderStorage as a service and OpenStack Cinder
Storage as a service and OpenStack Cinderopenstackindia
 
Prometheus
PrometheusPrometheus
Prometheuswyukawa
 
Docker Networking: Control plane and Data plane
Docker Networking: Control plane and Data planeDocker Networking: Control plane and Data plane
Docker Networking: Control plane and Data planeDocker, Inc.
 
Prometheus Overview
Prometheus OverviewPrometheus Overview
Prometheus OverviewBrian Brazil
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker IntroductionSparkbit
 
Kubernetes Networking 101
Kubernetes Networking 101Kubernetes Networking 101
Kubernetes Networking 101Weaveworks
 
MySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaMySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaYoungHeon (Roy) Kim
 
OpenTelemetry For Operators
OpenTelemetry For OperatorsOpenTelemetry For Operators
OpenTelemetry For OperatorsKevin Brockhoff
 
Open shift 4 infra deep dive
Open shift 4    infra deep diveOpen shift 4    infra deep dive
Open shift 4 infra deep diveWinton Winton
 
The Patterns of Distributed Logging and Containers
The Patterns of Distributed Logging and ContainersThe Patterns of Distributed Logging and Containers
The Patterns of Distributed Logging and ContainersSATOSHI TAGOMORI
 

What's hot (20)

PromQL Deep Dive - The Prometheus Query Language
PromQL Deep Dive - The Prometheus Query Language PromQL Deep Dive - The Prometheus Query Language
PromQL Deep Dive - The Prometheus Query Language
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShiftKubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
 
Introduction to Kubernetes and Google Container Engine (GKE)
Introduction to Kubernetes and Google Container Engine (GKE)Introduction to Kubernetes and Google Container Engine (GKE)
Introduction to Kubernetes and Google Container Engine (GKE)
 
Kubernetes Architecture - beyond a black box - Part 1
Kubernetes Architecture - beyond a black box - Part 1Kubernetes Architecture - beyond a black box - Part 1
Kubernetes Architecture - beyond a black box - Part 1
 
ProxySQL on Kubernetes
ProxySQL on KubernetesProxySQL on Kubernetes
ProxySQL on Kubernetes
 
Introduction to docker swarm
Introduction to docker swarmIntroduction to docker swarm
Introduction to docker swarm
 
Kubernetes security
Kubernetes securityKubernetes security
Kubernetes security
 
Storage as a service and OpenStack Cinder
Storage as a service and OpenStack CinderStorage as a service and OpenStack Cinder
Storage as a service and OpenStack Cinder
 
Prometheus
PrometheusPrometheus
Prometheus
 
Docker Networking: Control plane and Data plane
Docker Networking: Control plane and Data planeDocker Networking: Control plane and Data plane
Docker Networking: Control plane and Data plane
 
Prometheus Overview
Prometheus OverviewPrometheus Overview
Prometheus Overview
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
What Is Helm
 What Is Helm What Is Helm
What Is Helm
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Docker swarm
Docker swarmDocker swarm
Docker swarm
 
Kubernetes Networking 101
Kubernetes Networking 101Kubernetes Networking 101
Kubernetes Networking 101
 
MySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaMySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & Grafana
 
OpenTelemetry For Operators
OpenTelemetry For OperatorsOpenTelemetry For Operators
OpenTelemetry For Operators
 
Open shift 4 infra deep dive
Open shift 4    infra deep diveOpen shift 4    infra deep dive
Open shift 4 infra deep dive
 
The Patterns of Distributed Logging and Containers
The Patterns of Distributed Logging and ContainersThe Patterns of Distributed Logging and Containers
The Patterns of Distributed Logging and Containers
 

Similar to Zun presentation (OpenStack Barcelona summit)

OpenStack und Containers
OpenStack und ContainersOpenStack und Containers
OpenStack und Containersinovex GmbH
 
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineO365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineNCCOMMS
 
Introduction to Docker at Glidewell Laboratories in Orange County
Introduction to Docker at Glidewell Laboratories in Orange CountyIntroduction to Docker at Glidewell Laboratories in Orange County
Introduction to Docker at Glidewell Laboratories in Orange CountyJérôme Petazzoni
 
LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013dotCloud
 
LXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software DeliveryLXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software DeliveryDocker, Inc.
 
Getting-Started-with-Containers-and-Kubernetes_-March-2020-CNCF-Webinar.pdf
Getting-Started-with-Containers-and-Kubernetes_-March-2020-CNCF-Webinar.pdfGetting-Started-with-Containers-and-Kubernetes_-March-2020-CNCF-Webinar.pdf
Getting-Started-with-Containers-and-Kubernetes_-March-2020-CNCF-Webinar.pdfssuser348b1c
 
Webinar container management in OpenStack
Webinar container management in OpenStackWebinar container management in OpenStack
Webinar container management in OpenStackCREATE-NET
 
Zun project update (boston summit)
Zun project update (boston summit)Zun project update (boston summit)
Zun project update (boston summit)hongbin034
 
(Open)Stacking Containers
(Open)Stacking Containers(Open)Stacking Containers
(Open)Stacking ContainersKen Thompson
 
Using Kubernetes for Continuous Integration and Continuous Delivery
Using Kubernetes for Continuous Integration and Continuous DeliveryUsing Kubernetes for Continuous Integration and Continuous Delivery
Using Kubernetes for Continuous Integration and Continuous DeliveryCarlos Sanchez
 
Using Kubernetes for Continuous Integration and Continuous Delivery. Java2days
Using Kubernetes for Continuous Integration and Continuous Delivery. Java2daysUsing Kubernetes for Continuous Integration and Continuous Delivery. Java2days
Using Kubernetes for Continuous Integration and Continuous Delivery. Java2daysCarlos Sanchez
 
Containerize! Between Docker and Jube.
Containerize! Between Docker and Jube.Containerize! Between Docker and Jube.
Containerize! Between Docker and Jube.Henryk Konsek
 
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme PetazzoniWorkshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme PetazzoniTheFamily
 
Introduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" EditionIntroduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" EditionJérôme Petazzoni
 
Running your dockerized application(s) on AWS Elastic Container Service
Running your dockerized application(s) on AWS Elastic Container ServiceRunning your dockerized application(s) on AWS Elastic Container Service
Running your dockerized application(s) on AWS Elastic Container ServiceMarco Pas
 
Kubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containersKubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containersinovex GmbH
 
Talk on PHP Day Uruguay about Docker
Talk on PHP Day Uruguay about DockerTalk on PHP Day Uruguay about Docker
Talk on PHP Day Uruguay about DockerWellington Silva
 
kata-containers-onboarding-deck.pptx
kata-containers-onboarding-deck.pptxkata-containers-onboarding-deck.pptx
kata-containers-onboarding-deck.pptxQforQA
 
Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive
Docker Meetup - Melbourne 2015 - Kubernetes Deep DiveDocker Meetup - Melbourne 2015 - Kubernetes Deep Dive
Docker Meetup - Melbourne 2015 - Kubernetes Deep DiveKen Thompson
 

Similar to Zun presentation (OpenStack Barcelona summit) (20)

OpenStack und Containers
OpenStack und ContainersOpenStack und Containers
OpenStack und Containers
 
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineO365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
 
Introduction to Docker at Glidewell Laboratories in Orange County
Introduction to Docker at Glidewell Laboratories in Orange CountyIntroduction to Docker at Glidewell Laboratories in Orange County
Introduction to Docker at Glidewell Laboratories in Orange County
 
LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013
 
LXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software DeliveryLXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software Delivery
 
Getting-Started-with-Containers-and-Kubernetes_-March-2020-CNCF-Webinar.pdf
Getting-Started-with-Containers-and-Kubernetes_-March-2020-CNCF-Webinar.pdfGetting-Started-with-Containers-and-Kubernetes_-March-2020-CNCF-Webinar.pdf
Getting-Started-with-Containers-and-Kubernetes_-March-2020-CNCF-Webinar.pdf
 
Webinar container management in OpenStack
Webinar container management in OpenStackWebinar container management in OpenStack
Webinar container management in OpenStack
 
Zun project update (boston summit)
Zun project update (boston summit)Zun project update (boston summit)
Zun project update (boston summit)
 
(Open)Stacking Containers
(Open)Stacking Containers(Open)Stacking Containers
(Open)Stacking Containers
 
Using Kubernetes for Continuous Integration and Continuous Delivery
Using Kubernetes for Continuous Integration and Continuous DeliveryUsing Kubernetes for Continuous Integration and Continuous Delivery
Using Kubernetes for Continuous Integration and Continuous Delivery
 
Using Kubernetes for Continuous Integration and Continuous Delivery. Java2days
Using Kubernetes for Continuous Integration and Continuous Delivery. Java2daysUsing Kubernetes for Continuous Integration and Continuous Delivery. Java2days
Using Kubernetes for Continuous Integration and Continuous Delivery. Java2days
 
Containerize! Between Docker and Jube.
Containerize! Between Docker and Jube.Containerize! Between Docker and Jube.
Containerize! Between Docker and Jube.
 
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme PetazzoniWorkshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
 
Introduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" EditionIntroduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" Edition
 
Running your dockerized application(s) on AWS Elastic Container Service
Running your dockerized application(s) on AWS Elastic Container ServiceRunning your dockerized application(s) on AWS Elastic Container Service
Running your dockerized application(s) on AWS Elastic Container Service
 
Kubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containersKubernetes - how to orchestrate containers
Kubernetes - how to orchestrate containers
 
Talk on PHP Day Uruguay about Docker
Talk on PHP Day Uruguay about DockerTalk on PHP Day Uruguay about Docker
Talk on PHP Day Uruguay about Docker
 
kata-containers-onboarding-deck.pptx
kata-containers-onboarding-deck.pptxkata-containers-onboarding-deck.pptx
kata-containers-onboarding-deck.pptx
 
Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive
Docker Meetup - Melbourne 2015 - Kubernetes Deep DiveDocker Meetup - Melbourne 2015 - Kubernetes Deep Dive
Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive
 
Reviwe(docker)
Reviwe(docker)Reviwe(docker)
Reviwe(docker)
 

Recently uploaded

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Recently uploaded (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Zun presentation (OpenStack Barcelona summit)

  • 1. Magnum is not the OpenStack Container Service? How about Zun Hongbin Lu (Huawei) Qiming Teng (IBM) Eli Qiao (Intel) Madhuri Kumari (Intel)
  • 2. Agenda ● Containers on OpenStack ● Magnum ● Zun ● Demo
  • 3. Containers on OpenStack OpenStack ContainerNova Instance (container) Hypervisor (Container Runtime) Compute Network Storage Nova Instance (container) Nova
  • 4. Containers on OpenStack OpenStack Nova Instance (VM) Container Hypervisor Compute Network Storage Nova Instance (VM) Container Container Container Nova
  • 5. Containers on OpenStack OpenStack Nova Instance (VM) Container Hypervisor Compute Network Storage VMNova Instance (VM) Container Container Container Container Orchestration Engine (COE) Nova
  • 6. Containers on OpenStack COE (Kubernetes, Swarm, etc.) Deployment (Magnum) Authentication (Keystone) Zun Images (Glance?) Fuxi Storage (Cinder) Network (Neutron) Kuryr Monitoring (Telemetry?) OpenStack API Native API
  • 7. Agenda ● Containers on OpenStack ● Magnum ● Zun ● Demo
  • 8. Introduction to Magnum Nova Magnum Nova Instances Kubernetes Swarm Mesos Containers
  • 9. Introduction to Magnum ● Provisioning ○ Kubernetes ○ Docker Swarm ○ Mesos ● Scaling ○ Add instances ○ Remove instances ● Security ○ Serve as Certificate Authority (CA) ○ Generate Keystone users COE (Kubernetes, Swarm, etc.) Magnum Keystone Zun Images (Glance?) Fuxi Cinder Neutron Kuryr Monitoring (Telemetry?) OpenStack API Native API
  • 10. Magnum Mission Statement Update Containers service Provide a set of services for management of application containers in a multi-tenant cloud environment. Container Infrastructure Management service Provide a set of services for provisioning, scaling, and managing Container Orchestration Engines (COEs).
  • 11. Magnum (M release) Magnum Mission Statement Update Bay Baymodel Container Pod Service Replication Controller Magnum (N release) Bay Baymodel Zun Container
  • 12. Agenda ● Containers on OpenStack ● Magnum ● Zun ● Demo
  • 13. What is Zun? ● Abstract container life-cycle management ● Simple API across different container technologies ● Deep Integrate with OpenStack ○ Keystone ○ Nova ○ Neutron ○ Glance ○ Horizon COE (Kubernetes, Swarm, etc.) Magnum Keystone Zun Images (Glance?) Fuxi Cinder Neutron Kuryr Monitoring (Telemetry?) OpenStack API Native API
  • 15. Why Zun? Baremetal Tenant 1 Virtualization Tenant 2 Tenant 3 COE Baremetal Tenant 1 Virtualization ? Tenant 2 Tenant 3 Containers ZunCOE COE Containers Containers Containers Containers Containers Magnum Zun
  • 16. Why Zun? ● OpenStack-native APIs ○ Simple ○ Container-oriented ○ Technology-agnostic ● Common infrastructure for VMs, baremetals, and containers ○ Common access control and roles management ○ Common network abstraction layer ○ Common images management ○ Single CLI / UI ○ Single orchestration template for VMs and containers ● No cluster provisioning & management
  • 17. Architecture Zun API Zun Compute Zun Compute Zun Compute Driver Driver Driver Container ContainerContainer COE / Runtime
  • 18. Sandbox Concepts ● Container ○ A Linux container (i.e. Docker container) ○ Run inside a sandbox ● Sandbox ○ Contain one or multiple containers ○ A placeholder for containers ○ Create an isolated environment ○ Contain network interface(s) and volume(s) ○ Enforce resource constraints (i.e. cpu, memory) Container Container eth0 Volumn IP
  • 19. What Exactly is Sandbox? ● Sandbox can be interpreted differently ○ Could be a set of Linux namespaces ○ Could be a VM (i.e. hypervisor-based runtime) ○ Could be a pod (i.e. Kubernetes) ● Our first implementation ○ A container is a Docker container ○ A sandbox is also a Docker container ○ Create a Docker container will automatically create a Docker sandbox ● Potential improvements ○ Allow multiple containers in a single sandbox
  • 20. Create a Docker Container 1. Create a Docker sandbox $ docker run -d --name mybox kubernetes/pause 2. Create a container by using the sandbox $ docker run -d --net container:mybox --ipc container:mybox --pid container:mybox --volumes-from mybox ...
  • 21. Why Introduce Sandbox? ● Define a group of containers that are ○ Co-located and Co-scheduled ○ Share network namespace ○ Share volume ○ Share resource limits ● Decouple containers from resources management ○ Containers are managed by Zun ○ Sandbox are managed by Nova (with Docker virt driver)
  • 22. Compute Host Create a Docker Container NovaZun Compute Host Sandbox Container Zun Compute Nova Compute Docker Driver 1 2 3 4 5 6 7 1. End-user requests to create a container 2. Zun requests Nova to create a sandbox instance 3. Nova forwards the request to Nova Compute 4. Nova Compute forwards the request to a Zun-provided virt driver 5. The virt driver create the sandbox 6. Zun requests Zun Compute to create a container 7. A container is created inside the sandbox
  • 23. Container Image ● Consistent API to manage container images ● Support multiple storage backend ○ Glance (stored as a tar file) ○ Docker Hub ○ Private Docker Registry ● Pluggable design ○ Easy to add support for additional image backend Zun Driver DriverImage Driver Glance Docker Hub
  • 24. Agenda ● Containers on OpenStack ● Magnum ● Zun ● Demo