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

OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack ArchitectureMirantis
 
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?OpenStack Korea Community
 
Docker introduction
Docker introductionDocker introduction
Docker introductionPhuc Nguyen
 
Cloud stack vs openstack vs eucalyptus
Cloud stack vs openstack vs eucalyptusCloud stack vs openstack vs eucalyptus
Cloud stack vs openstack vs eucalyptusAshok Kumar
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack NetworkingIlya Shakhat
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Diverajdeep
 
Creating Connector to Bridge the Worlds of Kafka and gRPC at Wework (Anoop Di...
Creating Connector to Bridge the Worlds of Kafka and gRPC at Wework (Anoop Di...Creating Connector to Bridge the Worlds of Kafka and gRPC at Wework (Anoop Di...
Creating Connector to Bridge the Worlds of Kafka and gRPC at Wework (Anoop Di...confluent
 
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법Open Source Consulting
 
Kubernetes - introduction
Kubernetes - introductionKubernetes - introduction
Kubernetes - introductionSparkbit
 
OpenStack vs VMware vCloud
OpenStack vs VMware vCloudOpenStack vs VMware vCloud
OpenStack vs VMware vCloudRoozbeh Shafiee
 
Docker introduction
Docker introductionDocker introduction
Docker introductiondotCloud
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT CampusAjeet Singh Raina
 
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack CascadingBuilding Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack CascadingJoe Huang
 
Prometheus (Prometheus London, 2016)
Prometheus (Prometheus London, 2016)Prometheus (Prometheus London, 2016)
Prometheus (Prometheus London, 2016)Brian Brazil
 
오픈스택 멀티노드 설치 후기
오픈스택 멀티노드 설치 후기오픈스택 멀티노드 설치 후기
오픈스택 멀티노드 설치 후기영우 김
 
Microservices with Docker, Kubernetes, and Jenkins
Microservices with Docker, Kubernetes, and JenkinsMicroservices with Docker, Kubernetes, and Jenkins
Microservices with Docker, Kubernetes, and JenkinsRed Hat Developers
 
Docker swarm introduction
Docker swarm introductionDocker swarm introduction
Docker swarm introductionEvan Lin
 

What's hot (20)

OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Cloud stack vs openstack vs eucalyptus
Cloud stack vs openstack vs eucalyptusCloud stack vs openstack vs eucalyptus
Cloud stack vs openstack vs eucalyptus
 
Community Openstack 구축 사례
Community Openstack 구축 사례Community Openstack 구축 사례
Community Openstack 구축 사례
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack Networking
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Dive
 
Creating Connector to Bridge the Worlds of Kafka and gRPC at Wework (Anoop Di...
Creating Connector to Bridge the Worlds of Kafka and gRPC at Wework (Anoop Di...Creating Connector to Bridge the Worlds of Kafka and gRPC at Wework (Anoop Di...
Creating Connector to Bridge the Worlds of Kafka and gRPC at Wework (Anoop Di...
 
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교  및 구축 방법
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
 
Kubernetes - introduction
Kubernetes - introductionKubernetes - introduction
Kubernetes - introduction
 
Terraform
TerraformTerraform
Terraform
 
OpenStack vs VMware vCloud
OpenStack vs VMware vCloudOpenStack vs VMware vCloud
OpenStack vs VMware vCloud
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT Campus
 
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack CascadingBuilding Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
 
Prometheus (Prometheus London, 2016)
Prometheus (Prometheus London, 2016)Prometheus (Prometheus London, 2016)
Prometheus (Prometheus London, 2016)
 
Docker, LinuX Container
Docker, LinuX ContainerDocker, LinuX Container
Docker, LinuX Container
 
오픈스택 멀티노드 설치 후기
오픈스택 멀티노드 설치 후기오픈스택 멀티노드 설치 후기
오픈스택 멀티노드 설치 후기
 
Microservices with Docker, Kubernetes, and Jenkins
Microservices with Docker, Kubernetes, and JenkinsMicroservices with Docker, Kubernetes, and Jenkins
Microservices with Docker, Kubernetes, and Jenkins
 
Docker swarm introduction
Docker swarm introductionDocker swarm introduction
Docker swarm introduction
 

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

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
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 PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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 PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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)
 
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...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

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