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

A lightweight deployment system for appops

A lightweight deployment system for appops

Introducing kploy, a lightweight Kubernetes deployment system for appops. Talk at KubeCon in London, see https://kubeconeurope2016.sched.org/event/6BTj/a-lightweight-deployment-system-for-appops

Michael Hausenblas

March 10, 2016
Tweet

More Decks by Michael Hausenblas

Other Decks in Technology

Transcript

  1. © 2016 Mesosphere, Inc. All Rights Reserved. A LIGHTWEIGHT DEPLOYMENT

    SYSTEM FOR APPOPS 1 Michael Hausenblas, Developer & Cloud Advocate | 2016-03-10 | KubeCon, London
  2. © 2016 Mesosphere, Inc. All Rights Reserved. 3 appops The

    person who writes an app is also the person responsible for operating the app in production, 24/7 and with SLOs.
  3. © 2016 Mesosphere, Inc. All Rights Reserved. 4 NOT about:

    provisioning VMs, install Kubernetes, replace HDDs, etc. appops
  4. © 2016 Mesosphere, Inc. All Rights Reserved. WHY DO I

    BOTHER? 5 • I care about appops • kubectl feels low-level • want an application-centric workflow • how about collaboration? medium.com/@mhausenblas/what-is-appops-why-do-i-care-what-i-do-about-it-b83a28b0eabc
  5. © 2016 Mesosphere, Inc. All Rights Reserved. HOW DO YOU

    (AS AN APPOP) USE KUBERNETES? 7 • kubectl and/or API • http://helm.sh • https://redspread.com • https://forge.puppetlabs.com/garethr/kubernetes • https://github.com/InQuicker/ktmpl
  6. © 2016 Mesosphere, Inc. All Rights Reserved. KPLOY DESIGN PRINCIPLES

    9 • convention over configuration • make it easy for appops to get started • UX—always explain what's going on (and your options)
  7. © 2016 Mesosphere, Inc. All Rights Reserved. KPLOY IS …

    10 • app-centric • manifest-based • stateless (only local resources)
  8. © 2016 Mesosphere, Inc. All Rights Reserved. KPLOY APP LAYOUT

    11 . Kployfile rcs/ services/ env/ apiserver: http://localhost:8080 author: Michael Hausenblas cache_remotes: False name: demo namespace: default source: http://github.com/mhausenblas/kploy-demo
  9. © 2016 Mesosphere, Inc. All Rights Reserved. BASIC USAGE 13

    • Create app from scratch • Launch app • Monitor app behaviour • Tear down app init dryrun run list stats destroy
  10. © 2016 Mesosphere, Inc. All Rights Reserved. ADVANCED USAGE 14

    • Handling credentials • Scale app • Debug • Export app
  11. © 2016 Mesosphere, Inc. All Rights Reserved. SOME IDEAS …

    16 • pull/push (currently an experimental feature) • more integrations, advance Helm integration • what would you like to see? PRs welcome :) • https://github.com/kubernauts/kploy
  12. © 2016 Mesosphere, Inc. All Rights Reserved. 17 WHERE CAN


    I LEARN MORE? 17 http://shop.oreilly.com/product/0636920043874.do http://www.oreilly.com/webops-perf/free/kubernetes.csp https://www.nginx.com/resources/library/docker-networking/