/kubernetes-intro

Slides and kubernetes yml files from the kubernetes talk

--

Background

  • Docker
  • Running docker in production ?
    • Scaling
    • Loadbalancing
    • Service Discovery
    • Health checking
  • Docker ecosystem (rival)

--

What is kubernetes ?

--

--

--

Core components

  • Pods
  • Replication Controllers
  • Selectors and labels
  • Services

Pods

  • Collection of containers (one or more)
  • Each pod gets it's own IP address
  • Containers in a pod are interconected
  • Ephemeral

Labels and selectors

  • Identify objects in the cluster
  • Run queries and actions against the cluster
  • Linking replication ctrls to pods
  • Linking services to pods/replication controllers

Replication Controllers

  • Replicates pods
  • Rolling updates
  • Keeps track of pods

Services

  • Defines logical set of pods
  • Abstracts access to pods
  • Think microservice
  • Service discovery
  • Loadbalancer

More

  • Secret storage
  • Persistant volumes
  • Rolling updates
  • Autoscaling
  • Specify Resources (cpu, mem, disk)

Useful links


And more...