Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Docker & Kubernetes intro

1,305 views

Published on

A short lap around Docker and Kubernetes concepts

Published in: Software
  • Be the first to comment

Docker & Kubernetes intro

  1. 1. Docker and Kubernetes (an intro) Arnon Rotem-Gal-Oz
  2. 2. What is Docker?
  3. 3. Linux Containers
  4. 4. What’s isolated?
  5. 5. So what is Docker then?
  6. 6. 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) ContainerA ContainerB ContainerC ContainerA Push Search Pull Run Host 1 OS (Linux) http://www.slideshare.net/dotCloud/docker-intro-november
  7. 7. 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
  8. 8. Work on my machine…
  9. 9. What is Kubernetes?
  10. 10. Is a Distributed Operating System for your code
  11. 11. 1. OS as an extended machine 2. OS as a Resource Manager
  12. 12. What we get • Scaling • Discovery • Load balancing and routing • Monitoring • Configuration
  13. 13. Azure/AWS/Google/AliCloud all have managed Kubernetes offerings
  14. 14. 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)
  15. 15. network Init container 2 Init container 1 container 1 container 2 POD
  16. 16. Side-car pattern (edge component)
  17. 17. • Job • CronJob • StatefulSet • DeamonSet • Deployment • Replicaset
  18. 18. 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/
  19. 19. Declare desired state (via yaml)
  20. 20. https://threadreaderapp.com/thread/1067537816324845569.html
  21. 21. Operators: Deploy Apps on K8s
  22. 22. And there’s a lot more…

×