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 and Kubernetes
(an intro)
Arnon Rotem-Gal-Oz
What is Docker?
Linux Containers
What’s isolated?
So what is Docker then?
What are the basics of the Docker system?
Source
Code
Repository
Dockerfile
For
A
Docker Engine
Docker
Container
Image
Reg...
Changes and Updates
Docker Engine
Docker
Container
Image
Registry
Docker Engine
Push
Update
Bins/
Libs
App
A
AppΔ
Bins/
Ba...
Work on my machine…
What is Kubernetes?
Is a Distributed Operating System for your code
1. OS as an
extended machine
2. OS as a Resource
Manager
What we get
• Scaling
• Discovery
• Load balancing and routing
• Monitoring
• Configuration
Azure/AWS/Google/AliCloud
all have managed Kubernetes offerings
Pod
• A deployment unit
• one or more containers
• Shared storage volumes
• Shared IP (i.e. access via localhost) and port...
network
Init container 2
Init container 1
container 1 container 2
POD
Side-car pattern (edge component)
• Job
• CronJob
• StatefulSet
• DeamonSet
• Deployment
• Replicaset
Service
• Set of Pods
• An access policy (session affinity, port,
external port etc.)
• Provides a stable endpoint for oth...
Declare
desired state
(via yaml)
https://threadreaderapp.com/thread/1067537816324845569.html
Operators:
Deploy Apps
on K8s
And there’s a lot more…
Docker & Kubernetes intro
Docker & Kubernetes intro
Docker & Kubernetes intro
Docker & Kubernetes intro
Docker & Kubernetes intro
Docker & Kubernetes intro
You’ve finished this document.
Download and read it offline.
Upcoming SlideShare
What to Upload to SlideShare
Next
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

Share

Docker & Kubernetes intro

Download to read offline

A short lap around Docker and Kubernetes concepts

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

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…
  • DotanSpector

    May. 27, 2020

A short lap around Docker and Kubernetes concepts

Views

Total views

3,157

On Slideshare

0

From embeds

0

Number of embeds

2,205

Actions

Downloads

60

Shares

0

Comments

0

Likes

1

×