managing kubernetes and openshift with manageiq
play

Managing Kubernetes and OpenShift with ManageIQ Alissa Bonas @ - PowerPoint PPT Presentation

Managing Kubernetes and OpenShift with ManageIQ Alissa Bonas @ Container Con Seattle 2015 The stages of containers world Containerizing an app Alissa Bonas @ Container Con Seattle 2015 The stages of containers world Run a container


  1. Managing Kubernetes and OpenShift with ManageIQ Alissa Bonas @ Container Con Seattle 2015

  2. The stages of containers world ● Containerizing an app Alissa Bonas @ Container Con Seattle 2015

  3. The stages of containers world ● Run a container Alissa Bonas @ Container Con Seattle 2015

  4. The stages of containers world ● Run multiple containers Alissa Bonas @ Container Con Seattle 2015

  5. The stages of containers world ● Orchestrate containers ● Run many containers on multiple hosts ● Manage a containers environment Alissa Bonas @ Container Con Seattle 2015

  6. Today we’ll focus on Kubernetes OpenShift ManageIQ Alissa Bonas @ Container Con Seattle 2015

  7. Kubernetes ● Deployment, scaling and orchestration of containers across clusters of hosts. Developed ● http://kubernetes.io/ in Go ● 1.0 release - July 2015 Alissa Bonas @ Container Con Seattle 2015

  8. Kubernetes main concepts ● Node - a machine that containers run on ● Namespace - partitioning resources created by users into logical groups ● Pod - a group of containers Alissa Bonas @ Container Con Seattle 2015

  9. Kubernetes main concepts ● Replication controller - ensures there are always X replicas of pods ● Service - a base load balancer that provides traffic to pods Alissa Bonas @ Container Con Seattle 2015

  10. OpenShift ● Platform as a service for building and running applications - for developers Developed ● http://www.openshift.org/ in Go ● 3.0 release - June 2015 Alissa Bonas @ Container Con Seattle 2015

  11. OpenShift main concepts ● Built on top of Kubernetes ● Provides additional capabilities ○ application lifecycle ○ routing - extends service ○ projects - extension of namespaces Build Deploy Run Alissa Bonas @ Container Con Seattle 2015

  12. Insight and control ● How many containers exist in my environment? ● Does a specific node have enough resources? ● How many distinct images are used? ● Which registries are used? Alissa Bonas @ Container Con Seattle 2015

  13. ManageIQ ● A cloud management platform ● http://manageiq.org/ a Ruby on Rails project ● Botvinnik release - June 2015 Alissa Bonas @ Container Con Seattle 2015

  14. ManageIQ concepts ● “A manager of managers” ○ supports multiple virtualization providers ● Insight and control ○ inventory overview and events ○ smart state analysis ○ workflow/orchestration Alissa Bonas @ Container Con Seattle 2015

  15. New in upstream ManageIQ ● Providers for container management ● Support added for ○ Kubernetes ○ OpenShift Alissa Bonas @ Container Con Seattle 2015

  16. Working together Kubernetes / Openshift Node A ManageIQ Master Node B Alissa Bonas @ Container Con Seattle 2015

  17. Container management providers Alissa Bonas @ Container Con Seattle 2015

  18. Creating a provider ● Kubernetes/OpenShift master host/port ● SSL ● Token based Alissa Bonas @ Container Con Seattle 2015

  19. Inventory ● Entities ● Relationships ● Additional information Alissa Bonas @ Container Con Seattle 2015

  20. Creating more insights ● Modelling additional entities as first class citizens ● Deducing relationships Alissa Bonas @ Container Con Seattle 2015

  21. Kubernetes provider summary page Alissa Bonas @ Container Con Seattle 2015

  22. Kubernetes provider relationships Alissa Bonas @ Container Con Seattle 2015

  23. OpenShift provider summary page Alissa Bonas @ Container Con Seattle 2015

  24. OpenShift provider relationships Alissa Bonas @ Container Con Seattle 2015

  25. Projects Alissa Bonas @ Container Con Seattle 2015

  26. Nodes ● OS and Software versions ● How many entities are on a node ● Capacity and utilization ● Which infrastructure is it running on Alissa Bonas @ Container Con Seattle 2015

  27. Node Summary page Alissa Bonas @ Container Con Seattle 2015

  28. What do we know about nodes? Capacity Docker and Kubernetes info Alissa Bonas @ Container Con Seattle 2015

  29. Nodes ● Quick overview on main nodes properties Alissa Bonas @ Container Con Seattle 2015

  30. Cross providers insight ● Connect all layers of infrastructure, cloud and containers ● Currently support cross linking with ○ OpenStack ○ oVirt / RHEV Alissa Bonas @ Container Con Seattle 2015

  31. Cross linking demystified Nodes Pods Containers Storage Virtual Hosts Machines Network Alissa Bonas @ Container Con Seattle 2015

  32. Cross linking demystified Services Images Routes Nodes Pods Containers Storage Virtual Hosts Machines Network Alissa Bonas @ Container Con Seattle 2015

  33. Cross provider example - Node Alissa Bonas @ Container Con Seattle 2015

  34. Cross provider VM example Alissa Bonas @ Container Con Seattle 2015

  35. Nodes capacity and utilization

  36. Resource quotas and limit ranges ● Limit the number of pods, containers, etc. ○ tracked per a project/namespace scope ● Limit CPU and memory ○ tracked per pod, container Alissa Bonas @ Container Con Seattle 2015

  37. Container ● Traceability - container id, image ● Restart count - potential issues? Alissa Bonas @ Container Con Seattle 2015

  38. Registries Alissa Bonas @ Container Con Seattle 2015

  39. Image from a known registry Alissa Bonas @ Container Con Seattle 2015

  40. Image from an unknown source Alissa Bonas @ Container Con Seattle 2015

  41. Pods ● Which containers are part of it ● Which services work with it ● Which node does it run on ● Is it controlled by a replicator? Alissa Bonas @ Container Con Seattle 2015

  42. Pods Alissa Bonas @ Container Con Seattle 2015

  43. Pod Alissa Bonas @ Container Con Seattle 2015

  44. Replicators Searches for pods with this label Alissa Bonas @ Container Con Seattle 2015

  45. Services ● A portal IP and source/target port pairs ● Redirects traffic to relevant pods based on a labels selector Alissa Bonas @ Container Con Seattle 2015

  46. Service example Alissa Bonas @ Container Con Seattle 2015

  47. OpenShift Routes ● Exposes a service by giving it an externally reachable hostname ● Can be fine tuned by /path ● Can be also secured Alissa Bonas @ Container Con Seattle 2015

  48. Events / Timeline ● Node ○ ready / not ready / rebooted ● Pod ○ scheduled ● More to come... Alissa Bonas @ Container Con Seattle 2015

  49. Tagging ● Leveraging ManageIQ tags Alissa Bonas @ Container Con Seattle 2015

  50. A glimpse into the future

  51. Dashboard - providers overview

  52. Dashboard - a single provider view

  53. Dashboard of a project

  54. Topology ● “A picture is worth a thousand words” ● Includes cross provider relationships ● Statuses Alissa Bonas @ Container Con Seattle 2015

  55. Topology demo

  56. Topology demo

  57. Open source ● Rapidly changing projects before their release ● Hard to track ● A chance to influence early Alissa Bonas @ Container Con Seattle 2015

  58. ManageIQ community ● http://talk.manageiq.org ● https://github.com/ManageIQ/manageiq ○ Follow label #providers/containers ● #manageiq IRC on freenode Alissa Bonas @ Container Con Seattle 2015

  59. Icons Credits ● The Go gopher - Renee French ● Diamond by MarkieAnn Packer from the Noun Project ● Rails by Luis Martins from the Noun Project ● Light Bulb by artworkbean from the Noun Project ● Sherlock by James Keuning

  60. Thank you! @mikeyteva

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend