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

Docker & Kubernetes

Docker & Kubernetes

What are Docker and Kubernetes

Arnon Rotem-Gal-Oz

May 25, 2020
Tweet

More Decks by Arnon Rotem-Gal-Oz

Other Decks in Technology

Transcript

  1. What are the basics of the Docker system? Source Code

    Repository Dockerfile For A Docker Engine Docker Container Image Registry Build Docker Host 2 OS (Linux) Container A Container B Container C Container A Push Search Pull Run Host 1 OS (Linux) http://www.slideshare.net/dotCloud/docker-intro-november
  2. Changes and Updates Docker Engine Docker Container Image Registry Docker

    Engine Push Update Bins/ Libs App A App Δ Bins / Base Container Image Host is now running A’’ Container Mod A’’ App Δ Bins / Bins/ Libs App A Bins / Bins/ Libs App A’’ Host running A wants to upgrade to A’’. Requests update. Gets only diffs Container Mod A’ http://www.slideshare.net/dotCloud/docker-intro-november
  3. What we get • Scaling • Discovery • Load balancing

    and routing • Monitoring • Configuration
  4. Pod • A deployment unit • one or more containers

    • Shared storage volumes • Shared IP (i.e. access via localhost) and port space • Deployed together (co-located, co-scheduled) • Ephemeral (reschedule ➔ new instance, not rerunning an ”old” instance)
  5. Service • Set of Pods • An access policy (session

    affinity, port, external port etc.) • Provides a stable endpoint for other services http://kubernetes.io/docs/user-guide/services/