Deploying with Kubernetes – Google IO 2019

Deploying with Kubernetes – Google IO 2019

My talk at Google IO Extended 2019 Lahore.

Source Code: https://github.com/sheharyarn/io19-k8s-kotlin-app

Ef8932114f7c055862b9204133cd1dee?s=128

Sheharyar Naseer

July 06, 2019
Tweet

Transcript

  1. Deploying with Kubernetes on Google Cloud Pla-orm

  2. @sheharyarn ! " # Sheharyar Naseer

  3. Devops is Hard • Even the best engineers struggle with

    deployments • A lot of manual work • Post-deployment monitoring • Never-ending stream of security & reliability issues
  4. But it doesn't have to be

  5. Kubernetes • Open-source container automation framework • Simple, Modular and

    Declarative • Automate as much as possible
  6. Imperative Systems • Create VPS instances for all of them

    • Manually install dependencies • ConGgure environment • Some automation possible • Still need to react in case something goes down
  7. Desired State • Tell Kubernetes what you want,
 not what

    to do • If something blows up, • Kubernetes will automatically Gx it • Will always go back to desired state
  8. Concepts

  9. Images & Containers • Represents application environment • Includes all

    dependencies • Isolated and bare minimum • We'll be using Docker
  10. Pods & Clusters • One or more containers deployed together

    • Representing an instance of your application • One IP per pod • One machine / node • Cluster is a group of nodes / pods
  11. Services • Named high-level application abstraction • Maps actual requests

    to pods • Load-balancing
  12. Demo

  13. Outro Slides, notes & source code: to.shyr.io/io19-kubernetes ! shyr.io ~@shyr.io

    sheharyarn