RUNNING AND MANAGING
KUBERNETES ON OPENSTACK
Victor Palma – Systems Architect
TONIGHT’S AGENDA
OpenStack + KUBERNETES?
What OpenStack components
are used to deploy kubernetes?
How do I deploy kubernetes on
OpenStack?
Application Deployment Patterns
on kubernetes
SOMETIMES YOU CAN’T START FROM
SCRATCH!
3
NOT BORN IN THE CLOUD!
• UI Layer
• Business Logic Tier
Data
Access Tier
Integration
Tier
MainframeRDMS
DB(s)
• Monolithic Apps
• Dependent on Heavy, stagnant tech
• Configuration is embedded and static
• Requires specific infrastructure and configuration
• Inability to decompose deployments
• Lack of portability
WHAT ABOUT CLOUD NATIVE APPS?
5
Definitions Examples
6
CLOUD NATIVE APPLICATIONS
• Cloud Native
▸ An approach to building
and running applications
that take advantages of the
cloud computing model.
• 12 Factor App
CLOUD NATIVE APPS LITTLE DIRTY SECRET
7
Running and Managing Kubernetes on OpenStack
9
• In July 2010, Rackspace Hosting and NASA jointly launched an open-source cloud-software initiative
known as OpenStack. The OpenStack project intended to help organizations offer cloud-computing
services running on standard hardware. The community's first official release, code-named Austin,
appeared three months later on October 21, 2010, with plans to release regular updates of the software
every few months. The early code came from NASA's Nebula platform as well as from Rackspace’s
Cloud Files Platform.
• As of today it’s managed by the OpenStack Foundation, a non-profit corporate entity established in
September 2012 to promote OpenStack software and it’s community. More than 500 companies have
joined the project.
BRIEF OPENSTACK HISTORY
OpenStack is Built on top of Multiple Open Source Projects
11
OPENSTACK PROJECTS
• Core Services:
▸ NOVA – Compute
▸ NEUTRON – Networking
▸ SWIFT – Object Storage
▸ CINDER – Block Storage
▸ KEYSTONE – Identity
▸ GLANCE – Imaging Service
•Optional Services:
▸Horizon – Dashboard
▸Ceilometer – Telemetry
▸Heat – Orchestration
▸Trove – Database
▸Sahara – Elastic Map Reduce
▸Ironic – Bare-Metal Provisioning
▸Zaqar – Messaging Service
▸Manila – Shared FS
▸Designate – DNS Service
▸Barbican – Key Management
▸Magnum – Containers
▸Murano – App Catalog
▸Congress - Governance
Core and Optional Services
IMAGE PLACEHOLDER
1920 X1080
12
WHAT’S THE BIG DEAL
WITH CONTAINERS?
CONTAINERS SIMPLIFY IT
• All required runtime components packaged
together into a “container”
• Eliminates the need for hypervisor & guest OS
• Increases portability across environments
• Reduces resource consumption by applications
• Provision applications nearly instantly
BENEFITS TO ENTERPRISE IT
INCREASE
DEVELOPER
PRODUCTIVITY
INCREASE
TOPLINE
REVENUE
REDUCE DATA
CENTER COSTS
“GETTING” CONTAINERS IS ONLY
HALF THE CHALLENGE
ORGANIZATIONS
STILL NEED TO
MANAGE THEM, JUST
AS THEY WOULD
MANAGE VMS
EXTERNAL RESEARCH
VALIDATES PAIN
POINTS
Container Scale
and Management
Top Container
Challenges
Source; https://www.cloudfoundry.org/wp-content/uploads/2016/06/Cloud-Foundry-2016-Container-Report.pdf n=374
82% of container users surveyed
agreed getting to scale can be
a challenge
84% of container users surveyed
agreed that managing without a
Provider would be a challenge.
MULTIPLE OPTIONS ARE AVAILABLE
Kubernetes Docker Swarm Apache Mesos
Web Search Interest
KUBERNETES IS THE CLEAR LEADER
Source: Apprenda, Containers Orchestration Comparison Guide (PDF)
• Generates more web search
interest than Swarm, Mesos and
Cloud Foundry combined
• One of the top Github projects
• More software vendors incorporate
Kubernetes than any other COE
• More professionals list Kubernetes
on their LinkedIn profiles than any
other comparable solution
WHY KUBERNETES?
• Kubernetes is the market choice for container orchestration
• No lock-in with Kubernetes
• Best-in-class application lifecycle management
§ Blue/green deployments
§ Zero downtime application upgrades
§ A/B deployments and more
• Google and Redhat, and others are focused on standards such
as OCI, CNF (cloud native foundation)
• Kubernetes manages things such as:
‣ Rolling upgrades
‣ Zero Downtime deployment
‣ Large scale management of complex workloads
‣ Highly available and fault tolerant by default
GETTING STARTED
WHY RUN KUBERNETES ON OPENSTACK?
21
Running and Managing Kubernetes on OpenStack
INSTALLATION
• Manual
• Orchestration
• Magnum
The Hard way
MANUAL INSTALLATION
24
• Pros
‣ Optimized for learning
‣ Understand how things work
• Cons
‣ Manual
‣ Not meant for production
‣ Hard to maintain
Pros Cons
via Ansible https://github.com/kubernetes/contrib/tree/master/ansible
25
ORCHESTRATION
• Automated
• Easy to install
• Easy to Modify
• Common Configuration
Management
• Limited by what’s
available
PROS CONS
26
MAGNUM
• AUTOMATIC SETUP OF
K8’S CLUSTERS
• YOU CAN EASILY GROW
OR SHRINK THE CLOUD
• EASY TO TEST AND PLAY
WITH KUBERNETES
• OPENSTACK SPECIFIC
Running and Managing Kubernetes on OpenStack
KUBERNETES
(SHORT INTRODUCTION)
KUBERNETES
HISTORY
• Borg, Omega and the Origin
of Kubernetes
• The name Kubernetes
originates from Greek,
meaning "helmsman" or
"pilot", and is the root of
"governor" and "cybernetic".
• K8s is an abbreviation
derived by replacing the 8
letters "ubernete" with 8.
WHAT IS
KUBERNETES?
• Kubernetes is an open-source platform
for automating deployment, scaling,
and operations of application
containers across clusters of hosts,
providing container-centric
infrastructure.
• portable: public, private, hybrid, multi-
cloud
• extensible: modular, pluggable,
hookable, compassable
• self-healing: auto-placement, auto-
restart, auto- replication, auto-scaling
ARCHITECTURE
31
Registry
Kubernetes
Master
Node 1
Node 2
Node 3
Node 4
API
UI
CLI
MASTER COMPONENTS
32
API
UI
CLI
etcd
API Server Scheduler Controller
NODE COMPONENTS
33
Kubernetes
Master
Docker kubelet
Daemon sets
Kube-proxy
fluentd
Pod
Pod
PodAddons
Pod Pod
Pod
Pod
Pod
Pod
UIDNS
Node
10K VIEW
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/DESIGN.md34
PODS
• Group of one or more containers that
are always co-located, co-scheduled,
and run in a shared context
• Containers in the same pod have the
same hostname
• Each pod is isolated by
‣ Process ID (PID) namespace
‣ Network namespace
‣ Interprocess Communication (IPC)
namespace
‣ Unix Time Sharing (UTS) namespace
• Alternative to a VM with multiple
processes
LABELS &
SELECTORS
• Key/value pairs associated with
Kubernetes objects
• Used to organize and select subsets of
objects
• Attached to objects at creation time but
modified at any time.
• Labels are the essential glue to
associate one API object with other
‣ Replication Controller -> Pods
‣ Service -> Pods
‣ Pods -> Nodes
REPLICATION
CONTROLLERS
• Ensures that a speci ed number
of pod replicas are running at
any one time.
• allows for easy scaling of
replicated systems and handles
re- creation of a pod when the
machine it is on reboots or
otherwise fails
PUTTING EVERYTHING TOGETHER
38
@meteatamel
DAEMON SETS
• This is a way to run a
pod on every node
JOBS
• Run to complete as opposed to
run for ever
• Built for batch jobs and big-data
CONFIG MAPS
• Ment to handle app
configuration
• Manage congi via the
kubernetes API
• Late binding
• Live-udated
• Available as env vars
SECRETS
• grant a pod access to a
secured something
• Don’t put secrets on your
containers image
QUICK COMMAND LIST
• Cluster Information
• List nodes
• List pods
• List services
• List deployments
kubectl cluster-info
CLUSTER INFORMATION
44
kubectl get nodes | kubectl get no
LIST NODES
45
kubectl get pods | kubectl get po
LISTS PODS
46
kubectl get services | kubectl get svc
LIST SERVICES
47
kubectl get deployments | kubectl get dep
LIST DEPLOYMENTS
48
APPLICATION
DEPLOYMENT PATTERNS
Single-node multi-container patterns
SIDECAR
50
Application
Log
Streaming
Sidecar
LOGS
Log
aggregation
service
POD
@brendandburns
Single-node multi-container patterns
AMBASADOR
51
Application
Memcache
Sharding
Proxy
Memcache
Shard
Memcache
Shard
@brendandburns
Single-node multi-container patterns
ADAPTER
52
Application
Monitoring
Adapter
Centralized
monitoring
service
@brendandburns
Distributed Container Patterns
LEADER ELECTION
53
Application
Reusable
master
election
container
Pod - 1
JSON
API
Pod - 2 Pod - N
Consensus
algorithm
or store
@brendandburns
Distributed Container Patterns
WORK QUEUE
54
Work
Queue
Executor
User
Supplied
worder
JSON
API
Work
Queue
Executor
User
Supplied
worder
JSON
API
* * *
Work
Queue
Coordinator
@brendandburns
Distributed Container Patterns
SCATTER/GATHER
55
@brendandburns
Distributed Container Patterns
SCATTER/GATHER
56
@brendandburns
Distributed Container Patterns
SCATTER/GATHER
57
@brendandburns
Distributed Container Patterns
SCATTER/GATHER
58
@brendandburns
Distributed Container Patterns
SCATTER/GATHER
59
@brendandburns
RACKSPACE OFFERS MANAGED
KUBERNETES FOR ENTERPRISE IT
• Application templates
• Optimized for cost efficiency
• Best-in-class compute
• Kubernetes expertise from certified cloud
specialists
• Centralized logging and monitoring
• Upgrades and patching
• Isolated multi-tenant or single tenant
• Security-hardened environments
• Full turn-key solution with 1-click deployment
• End-to-end tutorials and video training
• Native access to Kubernetes/Docker ecosystems
• Unified GUI and tooling
• Delivered via OpenStack
• Integrated networking
• User management, identity, quotas and limits
• Integrated storage
Operating Expertise Ease of Use
Management Technology Integration
Rackspace
Managed
Kubernetes
60
Fully Managed Kubernetes: Secure and highly performant with an intuitive user experience
BETA AVAILABLE NOW!
Running and Managing Kubernetes on OpenStack
Copyright © 2016 Rackspace | Rackspace® Fanatical Support® and other Rackspace marks are either registered service marks or service marks of Rackspace US, Inc. in the United States and other countries. Features, benefits and pricing
presented depend on system configuration and are subject to change without notice. Rackspace disclaims any representation, warranty or other legal commitment regarding its services except for those expressly stated
in a Rackspace services agreement. All other trademarks, service marks, images, products and brands remain the sole property of their respective holders and do not imply endorsement or sponsorship.
THANK YOU
ONE FANATICAL PLACE | SAN ANTONIO, TX 78218
US SALES: 1-800-961-2888 | US SUPPORT: 1-800-961-4454 | WWW.RACKSPACE.COM
References
• http://blog.kubernetes.io/2016/06/container-design-patterns.html
• http://dl.acm.org/citation.cfm?id=3027059
• https://kubernetes.io/docs/home/

More Related Content

PDF
Deploying kubernetes at scale on OpenStack
PDF
Kubernetes - A Short Ride Throught the project and its ecosystem
PDF
OpenStack on Kubernetes (BOS Summit / May 2017 update)
PDF
From Code to Kubernetes
PPTX
A Million ways of Deploying a Kubernetes Cluster
PPTX
Why kubernetes matters
PDF
Introduction to kubernetes
PDF
Scale into Multi-Cloud with Containers
Deploying kubernetes at scale on OpenStack
Kubernetes - A Short Ride Throught the project and its ecosystem
OpenStack on Kubernetes (BOS Summit / May 2017 update)
From Code to Kubernetes
A Million ways of Deploying a Kubernetes Cluster
Why kubernetes matters
Introduction to kubernetes
Scale into Multi-Cloud with Containers

What's hot (20)

PDF
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
PDF
OSDC 2018 | Introduction to SaltStack in the Modern Data Center by Mike Place
PDF
Top 3 reasons why you should run your Enterprise workloads on GKE
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
PDF
Docker Meetup Bangalore - Docker + Openstack
PDF
OSDC 2018 | Self Hosted bare Metal Kubernetes for SMEs by Thomas Hoppe
PPTX
Pairs OpenStack Summit Summary
PDF
How to Integrate Kubernetes in OpenStack
ODP
Enabling ceph-mgr to control Ceph services via Kubernetes
PDF
Zephyr: Creating a Best-of-Breed, Secure RTOS for IoT
PDF
Kubernetes Monitoring & Best Practices
PPTX
Spinnaker on Kubernetes
PPTX
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
PDF
VietOpenStack meetup 7th High Performance VM
PDF
How Kubernetes make OpenStack & Ceph better
PDF
(Open)Stacking Containers
PPTX
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
PPTX
OpenStack: Changing the Face of Service Delivery
PPTX
OpenStack Kolla Introduction
PDF
KubeCon EU 2016: Heroku to Kubernetes
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
OSDC 2018 | Introduction to SaltStack in the Modern Data Center by Mike Place
Top 3 reasons why you should run your Enterprise workloads on GKE
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Docker Meetup Bangalore - Docker + Openstack
OSDC 2018 | Self Hosted bare Metal Kubernetes for SMEs by Thomas Hoppe
Pairs OpenStack Summit Summary
How to Integrate Kubernetes in OpenStack
Enabling ceph-mgr to control Ceph services via Kubernetes
Zephyr: Creating a Best-of-Breed, Secure RTOS for IoT
Kubernetes Monitoring & Best Practices
Spinnaker on Kubernetes
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
VietOpenStack meetup 7th High Performance VM
How Kubernetes make OpenStack & Ceph better
(Open)Stacking Containers
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
OpenStack: Changing the Face of Service Delivery
OpenStack Kolla Introduction
KubeCon EU 2016: Heroku to Kubernetes
Ad

Similar to Running and Managing Kubernetes on OpenStack (20)

PDF
Kubernetes intro
PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
PDF
kubernetes.pdf
PDF
Nugwc k8s session-16-march-2021
PDF
Kubernetes Basics - ICP Workshop Batch II
PDF
Kubernetes for Java developers
PPTX
KubernetesPPT.pptx
PDF
Kubernetes: My BFF
PDF
One Kubernetes to rule them all (ZEUS 2019 Keynote)
PPTX
Kubernetes 101 Workshop
PPTX
Kubernetes Presentation
PDF
Azure meetup cloud native concepts - may 28th 2018
PPTX
Kubernetes-introduction to kubernetes for beginers.pptx
PDF
DevOps in AWS with Kubernetes
PPTX
Kubernetes101 - Pune Kubernetes Meetup 6
PPTX
DevOps with Kubernetes
PPTX
Introduction to Kubernetes
PDF
Introduction of Kubernetes - Trang Nguyen
PDF
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
PDF
DevJam 2019 - Introduction to Kubernetes
Kubernetes intro
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
kubernetes.pdf
Nugwc k8s session-16-march-2021
Kubernetes Basics - ICP Workshop Batch II
Kubernetes for Java developers
KubernetesPPT.pptx
Kubernetes: My BFF
One Kubernetes to rule them all (ZEUS 2019 Keynote)
Kubernetes 101 Workshop
Kubernetes Presentation
Azure meetup cloud native concepts - may 28th 2018
Kubernetes-introduction to kubernetes for beginers.pptx
DevOps in AWS with Kubernetes
Kubernetes101 - Pune Kubernetes Meetup 6
DevOps with Kubernetes
Introduction to Kubernetes
Introduction of Kubernetes - Trang Nguyen
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
DevJam 2019 - Introduction to Kubernetes
Ad

Recently uploaded (20)

PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
Human Computer Interaction Miterm Lesson
PPTX
Module 1 Introduction to Web Programming .pptx
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
Ensemble model-based arrhythmia classification with local interpretable model...
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
The AI Revolution in Customer Service - 2025
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PDF
CEH Module 2 Footprinting CEH V13, concepts
PDF
SaaS reusability assessment using machine learning techniques
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
Human Computer Interaction Miterm Lesson
Module 1 Introduction to Web Programming .pptx
SGT Report The Beast Plan and Cyberphysical Systems of Control
NewMind AI Weekly Chronicles – August ’25 Week IV
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Rapid Prototyping: A lecture on prototyping techniques for interface design
4 layer Arch & Reference Arch of IoT.pdf
Ensemble model-based arrhythmia classification with local interpretable model...
Introduction to MCP and A2A Protocols: Enabling Agent Communication
The AI Revolution in Customer Service - 2025
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
CEH Module 2 Footprinting CEH V13, concepts
SaaS reusability assessment using machine learning techniques
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Build Real-Time ML Apps with Python, Feast & NoSQL
Advancing precision in air quality forecasting through machine learning integ...
AI.gov: A Trojan Horse in the Age of Artificial Intelligence

Running and Managing Kubernetes on OpenStack