Kubernetes-Murano Integration in Mirantis OpenStack 7.0

19
Copyright © 2015 Mirantis, Inc. All rights reserved www.mirantis.com Kubernetes-Murano Integration in Mirantis OpenStack 7.0 December 3, 2015 John Jainschigg (Mirantis), Bhasker Nallapothula (Biarca) and Ihor Dvoretskyi (Mirantis)

Transcript of Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Page 1: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

www.mirantis.com

Kubernetes-Murano Integration in Mirantis OpenStack 7.0

December 3, 2015John Jainschigg (Mirantis), Bhasker Nallapothula (Biarca) andIhor Dvoretskyi (Mirantis)

Page 2: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

A few introductions

John Jainschigg | Technical Solutions Marketing (Mirantis)John Jainschigg works with Mirantis broad partner ecosystem, promoting new solution validation and encouraging customer choice. He is a former software developer, immersive 3D event-platform creator, tech magazine editor and columnist.

Bhasker Nallapothula | Architect (Biarca)Bhasker is a System software product development professional with 18+ years of experience, with primary focus on connected embedded products, in roles ranging from Software Development Engineer to S/W Engineering Management. Prior to Biarca, Bhasker was at AOptix Inc, Vedams, Rovi, LSI and Tata. He has a Master’s Degree in Computer Science from the College of Engineering, Andhra University, India.

Ihor Dvoretskyi | OpenStack Operations Engineer (Mirantis)Ihor is an Operations Engineer at Mirantis Inc - with a huge experience working in IT companies, where he was responsible for a couple of projects, tightly bound to Cloud computing and *nix systems. Ihor is deeply interested in OpenStack cloud platform, other Cloud technologies and Open Source projects, including Kubernetes and related technologies.

Page 3: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

A little housekeeping

● Please submit questions in the Questions pane.

● We’ll provide a link where you can download the slides at the end of the webcast.

Page 4: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Agenda

● Kubernetes via Murano on OpenStack: Some History● Next Steps: Multi-cloud and Auto-scaling● Kubernetes on OpenStack: Some Background● Demo: Multi-cloud and Auto-scaling● Q&A

Page 5: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Why Murano? Complex apps, on OpenStack, easily

Create Catalog● Easily add new apps● Describe forms, app

dependencies, suggested configurations, billing rules etc.

Deploy Apps● Deploy applications and

services with a push of a button

● Choose apps, specify settings, and deploy

Automatically Manage Apps

● Monitor with Ceilometer● Automatically self-heal, scale

up & down, failover, backup● Application specific actions● Track usage

Utilized by the OpenStack Community App Catalog

Page 6: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Why Murano? Customized, packaged orchestration

OpenStack Catalog Developers and Operators

1. Define

- Raw Application- Murano Packaging and Logic- Heat, etc. (Orches- tration Assets & Templates)- VMs/OS-Images

2. Operate

OpenStack Catalog Users

1. Click 2. Launch

White Box Black Box

Page 7: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Container benefits

● Container - lightweight technology that lets users launch applications in an

isolated environment on Linux

● Using containers benefits:

○ Performance

○ Repeatability

○ Isolation

○ Portability

● But managing containerized apps requires a different discipline

and different tools

Page 8: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Kubernetes orchestrates containers

● The predecessor of Kubernetes was the “Borg” container

orchestration tool, originally developed by Google.

● All the best ideas from Borg were incorporated into

Kubernetes, that is open sourced and is available for

everyone and runs everywhere

● Kubernetes is a container orchestrator that runs containers

and supports various underlying environments

Page 9: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Kubernetes components

● Cluster - a set of nodes used by Kubernetes to run applications

● Node - a virtual or physical machine, where Kubelet runs and where pods can

be created

● Pod - the smallest unit of Kubernetes - a colocated group of applications,

running in the same context (e.g. - “Webserver”)

● Replication Controller - a loop driving current state towards expected state

● Service - a set of running pods that run together (e.g., load-balanced

backends)

● Labels - identifying metadata attached to their objects (e.g., dev vs prod)

Page 10: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Why Kubernetes via Murano on OpenStack

● Docker: light, fast, simple, portable, hub● Kubernetes: Portability, platform abstraction,

management, load balancing, app scaling, HA● Murano: Ready-to-install applications (including

Kubernetes and OpenVPN), orchestration API, local and community app catalogs

● OpenStack: Open, unlocked, API-driven IaaS layer● Fuel: Installs OpenStack and Murano

Page 11: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Kubernetes via Murano on OpenStack: History

● Kubernetes Pod/Kubernetes Cluster Apps on apps.openstack.org at opening (March, 2015)

● Rapid, assured deployment of Dockerized apps on a scalable Kubernetes cluster, with Replication Controllers and cAdvisor enabled

● Great solution for a single premise cloud

Page 12: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Kubernetes via Murano on OpenStack: Vision

● Organizations need multi-cloud ● They want to utilize premise cloud capacity efficiently,

then burst at need to public hosts○ This can’t be too complicated!○ Requires IaaS orchestration responsive to container status

● Securely, efficiently, manageably● From single panes of glass (and toolkits)

Page 13: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Kubernetes and Murano: Multi-Cloud+Autoscaling

1. Murano installs Kubernetes and OpenVPN on OpenStack2. OpenVPN used to link premise K8S with K8S on GCE (and

other hosts in future)3. IaaS scaling of Kubernetes nodes in response to

Kubernetes resource utilization:● On demand: uses Murano (and underlying orchestrators) to create

and provision new K8S minion node VMs ● On demand: uses APIs to provision new minions on GCE

Page 14: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Kubernetes multi-cloud architecture

Page 15: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Kubernetes multi-cloud architecture: simplified

Master

Minion Minion Minion

Minion

Minion

Minion

Smart Kubernetes Cluster, deployed by OpenStack (Private Infrastructure)

Public Cloud (GCE)

Hybrid Cloud Deployment: Simplified Network Diagram

OpenVPN

Page 16: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Metrics-driven scaling

Page 17: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Demo

Page 18: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Q&A

What can we tell you?

Page 19: Kubernetes-Murano Integration in Mirantis OpenStack 7.0

Copyright © 2015 Mirantis, Inc. All rights reserved

Thank you

A video will be posted next week.