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

A Practical Guide to Continuous Delivery (Container Days 2017)

A Practical Guide to Continuous Delivery (Container Days 2017)

Abstract:

In this talk Ilya will outline what are the 3 pillars of CD – release management, validation and monitoring. After a short introduction to key concepts, Ilya will cover what Weave team has implemented in production for running Weave Cloud service (which, in turns, offers most of the same features used internally to its users). In the main section Ilya will turn the spotlight on the topic of monitoring and demonstrate the simplicity of cloud-native tools featuring a step-by-step demo of Kubernetes & Prometheus with a Node.js app.

DEMO: https://github.com/errordeveloper/prom-nodejs-demo

121dcfb4f05ed316247772545e2cd590?s=128

Ilya Dmitrichenko

June 20, 2017
Tweet

Transcript

  1. @errordeveloper A Practical Guide to Continuous Delivery

  2. outline: – motivation – how we do it – live

    demo
  3. – motivation what?

  4. – motivation why?

  5. – how we do it

  6. – how do we 1. release

  7. * Running tests √ Tests OK * Building container image

    # docker build -t $APP:$REV # docker push $APP:$REV * Deploying to Kubernetes # kubectl set image deployment/$APP $APP=$APP:$REV * Build finished √
  8. YourCI™

  9. None
  10. – how do we 2. validate

  11. None
  12. None
  13. None
  14. None
  15. None
  16. – how do we 3. monitor

  17. # kubectl get pods -n monitoring -l name=prom NAME READY

    STATUS RESTARTS AGE prom-4axc9 1/1 Running 3 109d # kubectl get cm -n monitoring prom-config \ -o yaml | wc -l 885
  18. None
  19. None
  20. live demo: using Prometheus with a Node.js app, step-by-step http://github.com/errordeveloper/nodejs-prometheus-demo

  21. cloud.weave.works

  22. ilya@weave.works slack.weave.works

  23. meetup.com/pro/Weave