Slide 1

Slide 1 text

© 2016 Mesosphere, Inc. All Rights Reserved. A LIGHTWEIGHT DEPLOYMENT SYSTEM FOR APPOPS 1 Michael Hausenblas, Developer & Cloud Advocate | 2016-03-10 | KubeCon, London

Slide 2

Slide 2 text

© 2016 Mesosphere, Inc. All Rights Reserved. MOTIVATION 2

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

© 2016 Mesosphere, Inc. All Rights Reserved. 4 NOT about: provisioning VMs, install Kubernetes, replace HDDs, etc. appops

Slide 5

Slide 5 text

© 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

Slide 6

Slide 6 text

© 2016 Mesosphere, Inc. All Rights Reserved. THE LANDSCAPE 6

Slide 7

Slide 7 text

© 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

Slide 8

Slide 8 text

© 2016 Mesosphere, Inc. All Rights Reserved. INTRODUCING KPLOY 8 http://kubernetes.sh/kploy

Slide 9

Slide 9 text

© 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)

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

© 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

Slide 12

Slide 12 text

© 2016 Mesosphere, Inc. All Rights Reserved. KPLOY
 IN ACTION 12

Slide 13

Slide 13 text

© 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

Slide 14

Slide 14 text

© 2016 Mesosphere, Inc. All Rights Reserved. ADVANCED USAGE 14 • Handling credentials • Scale app • Debug • Export app

Slide 15

Slide 15 text

© 2016 Mesosphere, Inc. All Rights Reserved. THE FUTURE 15

Slide 16

Slide 16 text

© 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

Slide 17

Slide 17 text

© 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/

Slide 18

Slide 18 text

© 2016 Mesosphere, Inc. All Rights Reserved. 18 WHERE CAN
 I LEARN MORE? 18 http://k8s.info