openstack and magnum
play

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.


  1. 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

  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. 2

  3. Manage applications, not machines 3

  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 4

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

  6. Architecture Load http://guestbook.com balancer 8080 8081 8080 8081 8080 8081 gbook-01 blog-01 gbook-01 blog-01 worker-A worker-B worker-C 6

  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. 7

  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. 8

  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. 9

  10. How to combine OpenStack and Kubernetes worlds? 10

  11. Solution for everything: OpenStack and Kubernetes 11

  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. 12

  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. 13

  14. OpenStack Magnum architecture 15

  15. Magnum Resource Bay (K8s Cluster) 16

  16. 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 . 17

  17. 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 18

  18. Magnum future ● Full support for bare metal deployments ● Support different CPU architectures ARM, s390 ● Auto-scaling ● Auto-restarts ● Support other containers engines 19

  19. 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 20

  20. It is time for real demo example!!! 21

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

Recommend


More recommend