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

Intro to Kubernetes - Google IO Extended Grand ...

Intro to Kubernetes - Google IO Extended Grand Rapids

Avatar for Thomas Wodarek

Thomas Wodarek

May 09, 2018

More Decks by Thomas Wodarek

Other Decks in Technology

Transcript

  1. Outline • Who am I? • What is Kubernetes? •

    Basic Kubernetes primitives • How an example app might look • Real world example • Questions
  2. Pod The basic building block of k8s Specifies a container

    (or containers) to be deployed together as a unit Look like a single “machine” from the inside
  3. Deployments An abstraction above pods to manage replications and readiness

    Desired state configuration Scaling Rolling updates Rollbacks Liveness & Readiness Probes
  4. Deployments An abstraction above pods to manage replications and readiness

    Desired state configuration Scaling Rolling updates Rollbacks Liveness & Readiness Probes
  5. Service Provides a DNS name to access a service Based

    on selectors, it finds the pods that need to be load balanced Liveness & Readiness Probes
  6. Service Provides a DNS name to access a service Based

    on selectors, it finds the pods that need to be load balanced Liveness & Readiness Probes
  7. Volume A file storage location that lives as long as

    the pod does Some types back-end into persistent disk location (so that you don’t lose your data on restart)
  8. Secret A safe and secure way to provide sensitive information

    to your pods Per namespace isolation Credentials Can be presented as a volume to pods
  9. Allows you to push any amount of information, en mass,

    into containers Allows you to push implementation-specific details into a provided pod (see kube-lego example) I’ve even used it for environment variables Config-Maps