Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Managing Kubernetes and OpenShift with ManageIQ...

Managing Kubernetes and OpenShift with ManageIQ - CloudOpen Europe

Managing Kubernetes and OpenShift with ManageIQ.
A talk on container management aspects.
Presented at CloudOpen (Linux Con) Dublin, 2015

Alissa Bonas

October 06, 2015
Tweet

More Decks by Alissa Bonas

Other Decks in Technology

Transcript

  1. • Orchestrate containers • Run many containers on multiple hosts

    • Manage a containers based environment Run multiple containers Alissa Bonas @ Cloud Open Dublin 2015
  2. Kubernetes • Deployment, scaling and orchestration of containers across clusters

    of hosts. • 1.0 release - July 2015 Developed in Go Alissa Bonas @ Cloud Open Dublin 2015
  3. Kubernetes concepts • Node - a machine that containers run

    on • Pod - a group of containers • Replication controller - ensures there are always X replicas of pods Alissa Bonas @ Cloud Open Dublin 2015
  4. Kubernetes concepts • Service - a base load balancer that

    provides traffic to pods • Namespace - partitioning resources created by users into logical groups Alissa Bonas @ Cloud Open Dublin 2015
  5. OpenShift • Platform as a service for building and running

    applications - for developers • Built on top of Kubernetes • 3.0 release - June 2015 Developed in Go Alissa Bonas @ Cloud Open Dublin 2015
  6. OpenShift concepts • Provides additional capabilities ◦ application lifecycle ◦

    routing - extends service ◦ projects - extension of namespaces Build Deploy Run Alissa Bonas @ Cloud Open Dublin 2015
  7. • How many containers exist in my environment? • Does

    a specific node have enough resources? • How many distinct images are used? • Which registries are used? Insight and control Alissa Bonas @ Cloud Open Dublin 2015
  8. ManageIQ • A cloud management platform ◦ supports multiple virtualization

    providers • Insight and control ◦ inventory overview and events ◦ smart state analysis ◦ workflow/orchestration a Ruby on Rails project Alissa Bonas @ Cloud Open Dublin 2015
  9. New in upstream ManageIQ • Providers for container management •

    Supported providers ◦ Kubernetes ◦ OpenShift Alissa Bonas @ Cloud Open Dublin 2015
  10. Working together ManageIQ Kubernetes / Openshift Master REST Node A

    Node B Alissa Bonas @ Cloud Open Dublin 2015
  11. Creating more insights • Modelling additional entities as first class

    citizens • Deducing relationships Alissa Bonas @ Cloud Open Dublin 2015
  12. Nodes • OS and Software versions • How many entities

    are on a node • Capacity and utilization • Which infrastructure is it running on Alissa Bonas @ Cloud Open Dublin 2015
  13. What do we know about nodes? Capacity Docker and Kubernetes

    info OS info Alissa Bonas @ Cloud Open Dublin 2015
  14. Cross providers insight • Connect all layers of infrastructure, cloud

    and containers • Currently supports cross linking with ◦ OpenStack ◦ oVirt / RHEV ◦ VMware vCenter Alissa Bonas @ Cloud Open Dublin 2015
  15. Cross linking zoom out Virtual Machines Hosts Nodes Pods Containers

    Images Storage Network Services Routes Alissa Bonas @ Cloud Open Dublin 2015
  16. 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 @ Cloud Open Dublin 2015
  17. 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 @ Cloud Open Dublin 2015
  18. Services • A portal IP and source/target port pairs •

    Redirects traffic to relevant pods based on a labels selector Alissa Bonas @ Cloud Open Dublin 2015
  19. OpenShift Routes • Exposes a service by giving it an

    externally reachable hostname • Can be fine tuned by /path • Can be also secured Alissa Bonas @ Cloud Open Dublin 2015
  20. Events / Timeline • Node ◦ ready / not ready

    / rebooted • Pod ◦ scheduled • More to come... Alissa Bonas @ Cloud Open Dublin 2015
  21. • “A picture is worth a thousand words” • Includes

    cross provider relationships • Status color indication Topology view Alissa Bonas @ Cloud Open Dublin 2015
  22. Smart State Analysis • Inspect the packages included in an

    image • Combined with vulnerabilities db, generate alerts for important security issues on running containers Alissa Bonas @ Cloud Open Dublin 2015
  23. Icons Credits • The Go gopher - Renee French •

    Diamond by MarkieAnn Packer, the Noun Project • Rails by Luis Martins, the Noun Project • Light Bulb by artworkbean, the Noun Project • Sherlock by James Keuning, the Noun Project • Twitter by Lubos Volkov, the Noun Project • Link by Vitor Fernandes, the Noun Project