OpenStack and Magnum Kubernetes as a Service for everyone Flavio - - PowerPoint PPT Presentation

openstack and magnum
SMART_READER_LITE
LIVE PREVIEW

OpenStack and Magnum Kubernetes as a Service for everyone Flavio - - PowerPoint PPT Presentation

OpenStack and Magnum Kubernetes as a Service for everyone Flavio Castelli Michal Jura Engineering Manager (Containers) Linux Cloud/HA Developer fcastelli@suse.com mjura@suse.com New challenges New age of internet and mobile applications.


slide-1
SLIDE 1

OpenStack and Magnum

Kubernetes as a Service for everyone

Flavio Castelli Engineering Manager (Containers) fcastelli@suse.com Michal Jura Linux Cloud/HA Developer mjura@suse.com

slide-2
SLIDE 2

2

New challenges

  • New age of internet and mobile applications.
  • Application super portability.
  • Higher complexity of cloud environments.
  • Different cloud providers.
  • Adoption of micro services architectures.
  • Stay agile in spirit of DevOps.
slide-3
SLIDE 3

3

Manage applications, not machines

slide-4
SLIDE 4

4

kubernetes advantages

  • Workload portability: doesn't enforce its directives to the application.
  • Friendly with legacy applications: smooth migration path.
  • Avoid vendor lock-in.
  • Self healing.
  • Auto-scaling.
  • Has a solution for many problems:
  • Persistent storage.
  • Secrets management.
  • Blue-Green deployments.
  • Flexible: plug-in architecture
slide-5
SLIDE 5

5

Architecture

Scheduler API server Controller mgr Master Master etcd etcd pod pod container container docker kubelet kubeproxy Worker Worker

slide-6
SLIDE 6

6

Architecture

Load balancer

http://guestbook.com

worker-B gbook-01 8081 blog-01 8080 worker-A gbook-01 8081 8080 worker-C 8081 blog-01 8080

slide-7
SLIDE 7

7

kubernetes deployment

  • Requires an etcd cluster.
  • Requires one or more master nodes.
  • Requires one or more worker nodes.
  • Requires a SDN network joining all the worker nodes.
  • Requires a load balancer to expose internal applications.
  • Lots of patience to link all these components together.
slide-8
SLIDE 8

8

kubernetes’ status

  • It’s a pleasure to use as developer deploying your application.
  • It’s a pleasure to administer as an operator.
  • It’s a pain to deploy.
slide-9
SLIDE 9

9

Things are changing

  • kubeadm: upstream tool for kubernetes deployment.
  • kubernetes deployed with containers, by kubernetes itself.
  • Introduced with the 1.4 release, still alpha.
slide-10
SLIDE 10

10

How to combine OpenStack and Kubernetes worlds?

slide-11
SLIDE 11

11

Solution for everything: OpenStack and Kubernetes

slide-12
SLIDE 12

12

Introduction to OpenStack Magnum architecture

  • A new service on OpenStack
  • Provides CaaS (Containers as a Service)
  • Supports different Linux images
  • Integrates:
  • kubernetes
  • docker
  • flannel (overlay network)
  • Heat, Keystone, Glance, Cinder, Neutron, Barbican etc.
slide-13
SLIDE 13

13

OpenStack Magnum API

Magnum provides project isolation for container orchestration engines

  • Management tool for containers within OpenStack

✔ Orchestrate cloud resources and instances with Heat ✔ Clone environments with similar network with Neutron ✔ Implement separate clusters in many projects through Keystone

  • Use different Container Orchestration Engines (COE)

Google Kubernetes

Docker Swarm

Apache Mesos

  • Access to native API's with dedicated clients

✔ Docker client can access hosts and containers ✔ Kubernetes client can also directly manage pods, replication controllers, services, etc.

slide-14
SLIDE 14

15

OpenStack Magnum architecture

slide-15
SLIDE 15

16

Magnum Resource Bay (K8s Cluster)

slide-16
SLIDE 16

17

Magnum awesomeness

  • Each OpenStack user can have its own Kubernetes cluster.
  • Kubernetes deployment will take a few minutes.
  • Whole configuration will be done automatically.
  • We can auto-scale Kubernetes cluster on request.
  • Start your containerized on ready environment.
  • Expose service to internet using LoadBalancer.
slide-17
SLIDE 17

18

Why pick up Magnum with Kubernetes

  • Based on 10+ years of Google running containers in production
  • Have this same deployment process for each application
  • Take care only about cloud native application especially for web and mobile apps
  • Big cluster data readiness, fits perfectly with hundreds or thousands of hosts
  • Choose between virtual machines and bare-metal servers
slide-18
SLIDE 18

19

Magnum future

  • Full support for bare metal deployments
  • Support different CPU architectures ARM, s390
  • Auto-scaling
  • Auto-restarts
  • Support other containers engines
slide-19
SLIDE 19

20

Magnum potentials

  • Become a Magnum Opus
  • Provide cloud ready apps and services
  • Manage projects aware Container Topologies
  • Use OpenStack as a first class citizen for container technology
  • Help developers with their work
slide-20
SLIDE 20

21

It is time for real demo example!!!

slide-21
SLIDE 21

Questions ?

Flavio Castelli Engineering Manager (Containers) fcastelli@suse.com Michal Jura Linux Cloud/HA Developer mjura@suse.com