This document summarizes two OpenStack projects for managing containers: Magnum and Zun. Magnum provides an API to manage container infrastructure by provisioning container orchestration engines like Kubernetes and Docker Swarm. Zun provides an OpenStack-native API for launching and managing containers across different technologies in an integrated manner with OpenStack services like Keystone, Nova, Neutron, Glance, Cinder, and Horizon. While Magnum gives infrastructure for self-managed containers, Zun allows OpenStack to provision and manage containers directly. The document compares their architectures and use cases before demonstrating Zun.
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Manage Containers with Zun or Magnum in OpenStack
1. Who Carries your Containers?
Zun or Magnum ?
OpenSource India 2016
Madhuri Kumari, Shubham Kumar Sharma
2. Agenda
• Containers in OpenStack
• Magnum : History
• Magnum : Current State Role
• Introduction to Zun
• Zun Architecture
• Zun Concepts
• Comparison: Magnum or Zun
• When to use what ?
• Zun Demo
3. Containers in OpenStack
• Openstack Containers team was initially formed in May
2014 with a vision for advancing container technology in
existing OpenStack services.
• Provide consistent experience as VMs in Openstack.
4. Containers on OpenStack: Case 1
OpenStack
Nova Instance (container)
Hypervisor / Container Runtime
Compute Network Storage
Nova Instance (VM)
5. Containers on OpenStack: Case 2
OpenStack
Nova Instance (VM)
Container
Hypervisor
Compute Network Storage
Nova Instance (VM)
Container Container Container
6. Containers on OpenStack: Case 3
OpenStack
Nova Instance (VM)
Container
Hypervisor
Compute Network Storage
Nova Instance (VM)
Container Container Container
Container Orchestration Engine (COE)
8. OpenStack Container Projects
Nova-docker
A Docker hypervisor driver for
Nova Compute to treat
containers and images as the
same type of resource as virtual
machines.
Heat Docker
A plugin template for
orchestrating Docker resources
on top of OpenStack resources.
Allows access to full Docker API.
Murano
Provides an application catalog
of containerized applications
that can be deployed to an
OpenStack cloud.
Magnum
Provides an API to manage
multitenant containers
infrastructure leveraging Heat,
Nova, and Neutron.
Zun
Container service for
OpenStack. Provides API(s) for
launching and managing
containers backed by different
container technologies.
Solum
An OpenStack project designed
to make cloud services easier to
consume and integrate into
your application development
process.
Kolla
Kolla provides production-
ready containers and
deployment tools for
operating OpenStack clouds.
Kuryr
A Docker network plugin that
uses Neutron to provide
networking services to Docker
containers. It provides
containerised images for the
common Neutron plugins.
9. Magnum
• Magnum is an OpenStack API service making container
orchestration engines such as Docker Swarm, Kubernetes, and
Apache Mesos available as first class resources in OpenStack.
Container Infrastructure Management service
Provide a set of services for provisioning, scaling, and managing Container
Orchestration Engines (COEs).
Container Service
Provide a set of services for management of application containers in a multi-
tenant cloud environment.
13. Why Zun?
• OpenStack-native APIs
– Simple
– Container-Oriented
– Technology agnostic
• Common infrastructure for VMs, baremetal
and containers
– Common access control and roles management
– Common networking layer
– Common storage pool
– Common images management
– Single CLI / UI
– Single orchestration template for VMs and containers
• No container hosts management
15. When to use What?
Use Magnum When You Want
– OpenStack to give you infrastructure for container
management
– To provision your containers by yourself
Use Zun When You Want
– OpenStack to provision your containers
– OpenStack to manage your containers for basic
operations