More Related Content
Similar to Evolve or Die: Enterprise Ready OpenStack upgrades with Kubernetes (20)
Evolve or Die: Enterprise Ready OpenStack upgrades with Kubernetes
- 1. Copyright © 2016 Mirantis, Inc. All rights reserved
www.mirantis.com
Evolve or Die: Enterprise
Ready OpenStack Upgrades
with Kubernetes
Jakub Pavlik
- 2. Copyright © 2016 Mirantis, Inc. All rights reserved
Presentation Agenda
1. OpenStack Evolution
2. New Fuel Architecture
3. DEMO Scenarios
4. Q&A
Live Demos!
- 4. Copyright © 2016 Mirantis, Inc. All rights reserved
OpenStack Evolution steps
Day 1
Deploy
Day 2
Operate
Day 3
Upgrade
Deploying OpenStack is the easy part
Operation, Scaling and Upgrade is the difficult part
- 6. Copyright © 2016 Mirantis, Inc. All rights reserved
Requirements for DevOps
● Treat OpenStack as a set of Applications
● Composable, Modular, Immutable
● Split applications from infrastructure
● Monolithic VMs (Fragile and Vertical)
● Containers and Microservices
OpenStack is just another
application workload
- 7. Copyright © 2016 Mirantis, Inc. All rights reserved
Clearing Naming Confusion
● MCP = Mirantis Cloud Platform: next release of
Mirantis distribution, designed to make operations
simple. Not just OpenStack, but also includes
Kubernetes, Calico and other components...hence
MCP
● Fuel: Lifecycle management tool for MCP. We’ll be
talking about new Fuel here today.
● Fuel in MCP != Fuel in MOS 9.0: significant
architecture refactoring to support Day 2 and Day 3
operations.
MOS?
TCP Cloud?
MCP?
FUEL?
Etc.
- 8. Copyright © 2016 Mirantis, Inc. All rights reserved
Mirantis Cloud Platform
Operations-Centric Fabric for BM, VM and Containers
Host Host Host Host Host Host Host Host
Kubernetes
Host Host Host
K8s master K8s minionsBMaaS pool
Ironic
OpenStack
Control Plane
OpenStack
Computes
K8s
workloads
MonitoringandLogging
Bare Metal VMs Containers
LifecycleManagement
Today we’ll go over and demo the
new architecture of Fuel lifecycle
management tool that we are
building for Mirantis Cloud
Platform.
- 10. Copyright © 2016 Mirantis, Inc. All rights reserved
Fuel (Designed as a DevOps Center)
● Artifactory Provides artifact
repository for CICD Pipeline
● Web Portal Simple UI for
Artifactory, Jenkins, Gerrit
● Gerrit Git repositories with
code review
● Jenkins CI/CD Engine
● SaltStack To provide
orchestration capability for
CICD Pipeline
- 11. Copyright © 2016 Mirantis, Inc. All rights reserved
Deploy and Manage various clusters
● Builds MCP Components
● Deploys MCP Components
● Local or Remote MCP
Clusters
● Manages MCP clusters with
different setups and
components
- 12. Copyright © 2016 Mirantis, Inc. All rights reserved
OpenStack Small Site Deployment
- 13. Copyright © 2016 Mirantis, Inc. All rights reserved
Kube Node as OpenStack Controller
● OpenStack
components in
k8s PODs
● OpenContrail
roles in PODs
● Calico as Plugin
for k8s
- 14. Copyright © 2016 Mirantis, Inc. All rights reserved
Kube Node as OpenStack Compute
● Libvirt &
nova-compute in
k8s POD
● OpenContrail in
host OS
● Calico as network
plugin for k8s
- 15. Copyright © 2016 Mirantis, Inc. All rights reserved
Reclass metadata model - “Single source of truth”
● Where clusters/sites are defined
● Reclass YAML as primary
method of defining sites
● Metadata model allows:
● Hierarchical definition of
sites
● Changes at any level of
granularity
■ Global
■ Site-Type
■ Site
■ Node
● Single location for all
operations
● All changes as code commits
● Audit trail
- 16. Copyright © 2016 Mirantis, Inc. All rights reserved
Lifecycle Workflow - upgrade OpenStack Nova
- 18. Copyright © 2016 Mirantis, Inc. All rights reserved
#1 Deploy OpenStack on Kubernetes
● Deploy OpenStack on preinstalled Kubernetes cluster
● 4 HW nodes
● 3 Nodes - Kubernetes Master/Nodes with
OpenStack/OpenContrail control services
● 1 Compute
● Launch Jenkins Deploy OpenStack pipeline
“ As an infrastructure administrator, I need to provision small
site OpenStack deployment.”
- 19. Copyright © 2016 Mirantis, Inc. All rights reserved
#2 Scale up OpenStack Component
1. Change Metadata model
2. Push gerrit review
3. Launch Jenkins Deploy OpenStack pipeline
“ As an infrastructure operator, I need to scale up my small
deployment to at least 3 replicas.”
- 20. Copyright © 2016 Mirantis, Inc. All rights reserved
#3 Configuration Change in OpenStack Nova
1. Change Metadata model
2. Push gerrit review
3. Launch Jenkins Deploy OpenStack pipeline
● Manually run Salt update and k8s rolling update to show what is
behind
“ As an infrastructure operator, I need to add or modify the
scheduler filters in nova.conf on my site.”
- 21. Copyright © 2016 Mirantis, Inc. All rights reserved
#4 Upgrade OpenStack Cinder from Mitaka to
Newton
“ As an infrastructure administrator, I need to upgrade Cinder
component because of new storage features.”
1. Change Metadata model
2. Push gerrit review
3. Launch Jenkins Deploy OpenStack pipeline
● Manually run Salt update and k8s rolling update to show what is
behind
- 22. Copyright © 2016 Mirantis, Inc. All rights reserved
Q&A
Thank you for your time