![Page 1: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/1.jpg)
INTRODUCTION Docker Fundamentals
Kubernetes 101
Oleg Fiksel |Michael Siebertz
Email: [email protected] | [email protected]: @oleg:fiksel.info | @captain.vsan:matrix.org
2019-08-10 FrOSCon 2019
![Page 2: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/2.jpg)
INTRODUCTION Docker Fundamentals
OLEG FIKSEL (DOCKER FUNDAMENTALS)
I DevOps Engineer
I Passionate about tech
I Like to automate everything
![Page 3: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/3.jpg)
INTRODUCTION Docker Fundamentals
OLEG FIKSEL (DOCKER FUNDAMENTALS)
I DevOps Engineer
I Passionate about tech
I Like to automate everything
![Page 4: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/4.jpg)
INTRODUCTION Docker Fundamentals
MICHAEL SIEBERTZ
(KUBERNETES FUNDAMENTALS + LIVE DEMO)
I DevOps Engineer
I Passionate about tech (IT / Car)
I Trying to automate as much as possible
I Part of Central DevOps Team
![Page 5: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/5.jpg)
INTRODUCTION Docker Fundamentals
MICHAEL SIEBERTZ
(KUBERNETES FUNDAMENTALS + LIVE DEMO)
I DevOps Engineer
I Passionate about tech (IT / Car)
I Trying to automate as much as possible
I Part of Central DevOps Team
![Page 6: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/6.jpg)
INTRODUCTION Docker Fundamentals
MOTIVATION
Our motivation to do this talk
Provide an overview of container architechtureon the example of Docker and Kubernetes.
![Page 7: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/7.jpg)
INTRODUCTION Docker Fundamentals
MOTIVATION
Our motivation to do this talkProvide an overview of container architechture
on the example of Docker and Kubernetes.
![Page 8: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/8.jpg)
INTRODUCTION Docker Fundamentals
AGENDA
I Docker Fundamentals
I Kubernetes Fundamentals
I Roadmap from KubeCon 2019
I Live Demo
![Page 9: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/9.jpg)
INTRODUCTION Docker Fundamentals
AGENDA
I Docker Fundamentals
I Kubernetes Fundamentals
I Roadmap from KubeCon 2019
I Live Demo
![Page 10: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/10.jpg)
INTRODUCTION Docker Fundamentals
AGENDA
I Docker Fundamentals
I Kubernetes Fundamentals
I Roadmap from KubeCon 2019
I Live Demo
![Page 11: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/11.jpg)
INTRODUCTION Docker Fundamentals
AGENDA
I Docker Fundamentals
I Kubernetes Fundamentals
I Roadmap from KubeCon 2019
I Live Demo
![Page 12: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/12.jpg)
INTRODUCTION Docker Fundamentals
AGENDA
I Docker Fundamentals
I Kubernetes Fundamentals
I Roadmap from KubeCon 2019
I Live Demo
![Page 13: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/13.jpg)
INTRODUCTION Docker Fundamentals
Docker fundamentals
![Page 14: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/14.jpg)
INTRODUCTION Docker Fundamentals
A BIT OF HISTORY
![Page 15: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/15.jpg)
INTRODUCTION Docker Fundamentals
A BIT OF HISTORY 1/2
1979 · · · · · ·• chroot
2000 · · · · · ·• FreeBSD Jails
2001 · · · · · ·• Linux VServer
2004 · · · · · ·• Solaris Containers
2005 · · · · · ·• OpenVZ
2006 · · · · · ·• Process Containers (Google)
2008 · · · · · ·• LXC. . . · · · · · ·•
![Page 16: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/16.jpg)
INTRODUCTION Docker Fundamentals
A BIT OF HISTORY 2/2
. . . · · · · · ·•2011 · · · · · ·• Warden (CloudFoundry)
2013 · · · · · ·• Let Me Contain That For You (LMCTFY)(Google)
2013 · · · · · ·• Docker
2014 · · · · · ·• Kubernetes
. . . · · · · · ·• Big fight between container orchesrationframeworks
2018 · · · · · ·• Kubernetes is de facto standard fororchestrating containers
![Page 17: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/17.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
![Page 18: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/18.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
![Page 19: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/19.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
![Page 20: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/20.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I Storage
I VM: Binary ImageI Container: Layered plain FS
I Emulation
I VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I Networking
I VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 21: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/21.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I Storage
I VM: Binary ImageI Container: Layered plain FS
I Emulation
I VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I Networking
I VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 22: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/22.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary Image
I Container: Layered plain FS
I Emulation
I VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I Networking
I VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 23: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/23.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I Emulation
I VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I Networking
I VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 24: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/24.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I Emulation
I VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I Networking
I VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 25: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/25.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I EmulationI VM: BIOS, Hardware, etc.
I Container: No emulation, just separation
I Networking
I VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 26: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/26.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I EmulationI VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I Networking
I VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 27: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/27.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I EmulationI VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I Networking
I VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 28: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/28.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I EmulationI VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I NetworkingI VM: NIC emulation
I Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 29: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/29.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I EmulationI VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I NetworkingI VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 30: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/30.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I EmulationI VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I NetworkingI VM: NIC emulationI Container: Uses network stack of the host
I Runtime
I VM: statefulI Container: stateless
![Page 31: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/31.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I EmulationI VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I NetworkingI VM: NIC emulationI Container: Uses network stack of the host
I RuntimeI VM: stateful
I Container: stateless
![Page 32: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/32.jpg)
INTRODUCTION Docker Fundamentals
VMS AND CONTAINERS
I StorageI VM: Binary ImageI Container: Layered plain FS
I EmulationI VM: BIOS, Hardware, etc.I Container: No emulation, just separation
I NetworkingI VM: NIC emulationI Container: Uses network stack of the host
I RuntimeI VM: statefulI Container: stateless
![Page 33: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/33.jpg)
INTRODUCTION Docker Fundamentals
CONTAINER LIFECYCLE - OVERVIEW
![Page 34: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/34.jpg)
INTRODUCTION Docker Fundamentals
CONTAINER LIFECYCLE - OVERVIEW
![Page 35: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/35.jpg)
INTRODUCTION Docker Fundamentals
CONTAINER LIFECYCLE - IMAGE VERSIONS
![Page 36: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/36.jpg)
INTRODUCTION Docker Fundamentals
CONTAINER LIFECYCLE - IMAGE VERSIONS
![Page 37: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/37.jpg)
INTRODUCTION Docker Fundamentals
CONTAINER LIFECYCLE - IMAGE VERSIONS
![Page 38: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/38.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM
![Page 39: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/39.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM
![Page 40: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/40.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM
![Page 41: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/41.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM - IMAGE DEPENDENCIES
![Page 42: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/42.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM - IMAGE DEPENDENCIES
![Page 43: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/43.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM - IMAGE DEPENDENCIES
![Page 44: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/44.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM - IMAGE DEPENDENCIES
![Page 45: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/45.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM - BACKENDS
I aufs (legacy)
I overlayfs (legacy)
I devicemapper
I overlayfs2
I btrfs
![Page 46: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/46.jpg)
INTRODUCTION Docker Fundamentals
LAYERED FILE SYSTEM - BACKENDS
I aufs (legacy)
I overlayfs (legacy)
I devicemapper
I overlayfs2
I btrfs
![Page 47: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/47.jpg)
INTRODUCTION Docker Fundamentals
PERSISTENT STORAGE (VOLUMES)
I Containers start without state
I State is provided via mounts
I Binds (local FS)I Docker volumesI Docker Storage plugins
![Page 48: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/48.jpg)
INTRODUCTION Docker Fundamentals
PERSISTENT STORAGE (VOLUMES)
I Containers start without state
I State is provided via mounts
I Binds (local FS)I Docker volumesI Docker Storage plugins
![Page 49: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/49.jpg)
INTRODUCTION Docker Fundamentals
PERSISTENT STORAGE (VOLUMES)
I Containers start without state
I State is provided via mounts
I Binds (local FS)I Docker volumesI Docker Storage plugins
![Page 50: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/50.jpg)
INTRODUCTION Docker Fundamentals
PERSISTENT STORAGE (VOLUMES)
I Containers start without state
I State is provided via mountsI Binds (local FS)
I Docker volumesI Docker Storage plugins
![Page 51: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/51.jpg)
INTRODUCTION Docker Fundamentals
PERSISTENT STORAGE (VOLUMES)
I Containers start without state
I State is provided via mountsI Binds (local FS)I Docker volumes
I Docker Storage plugins
![Page 52: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/52.jpg)
INTRODUCTION Docker Fundamentals
PERSISTENT STORAGE (VOLUMES)
I Containers start without state
I State is provided via mountsI Binds (local FS)I Docker volumesI Docker Storage plugins
![Page 53: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/53.jpg)
INTRODUCTION Docker Fundamentals
SEPARATION AND RESOURCE LIMITING
I cgroups
I Linux kernel featureI Limiting: CPU, memory, disk I/O, network
I namespaces
I Linux kernel featureI process isolation
Each container "thinks" it’s the only one in the system(ps uax)
![Page 54: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/54.jpg)
INTRODUCTION Docker Fundamentals
SEPARATION AND RESOURCE LIMITING
I cgroups
I Linux kernel featureI Limiting: CPU, memory, disk I/O, network
I namespaces
I Linux kernel featureI process isolation
Each container "thinks" it’s the only one in the system(ps uax)
![Page 55: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/55.jpg)
INTRODUCTION Docker Fundamentals
SEPARATION AND RESOURCE LIMITING
I cgroupsI Linux kernel feature
I Limiting: CPU, memory, disk I/O, network
I namespaces
I Linux kernel featureI process isolation
Each container "thinks" it’s the only one in the system(ps uax)
![Page 56: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/56.jpg)
INTRODUCTION Docker Fundamentals
SEPARATION AND RESOURCE LIMITING
I cgroupsI Linux kernel featureI Limiting: CPU, memory, disk I/O, network
I namespaces
I Linux kernel featureI process isolation
Each container "thinks" it’s the only one in the system(ps uax)
![Page 57: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/57.jpg)
INTRODUCTION Docker Fundamentals
SEPARATION AND RESOURCE LIMITING
I cgroupsI Linux kernel featureI Limiting: CPU, memory, disk I/O, network
I namespaces
I Linux kernel featureI process isolation
Each container "thinks" it’s the only one in the system(ps uax)
![Page 58: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/58.jpg)
INTRODUCTION Docker Fundamentals
SEPARATION AND RESOURCE LIMITING
I cgroupsI Linux kernel featureI Limiting: CPU, memory, disk I/O, network
I namespacesI Linux kernel feature
I process isolationEach container "thinks" it’s the only one in the system(ps uax)
![Page 59: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/59.jpg)
INTRODUCTION Docker Fundamentals
SEPARATION AND RESOURCE LIMITING
I cgroupsI Linux kernel featureI Limiting: CPU, memory, disk I/O, network
I namespacesI Linux kernel featureI process isolation
Each container "thinks" it’s the only one in the system(ps uax)
![Page 60: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/60.jpg)
INTRODUCTION Docker Fundamentals
SUMMARY
I Containers are pretty slick and useful for packagingapplications
I Docker is the standard de facto (for now) for runningcontainers
I Docker alone is not enough to run containers big time
![Page 61: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/61.jpg)
INTRODUCTION Docker Fundamentals
SUMMARY
I Containers are pretty slick and useful for packagingapplications
I Docker is the standard de facto (for now) for runningcontainers
I Docker alone is not enough to run containers big time
![Page 62: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/62.jpg)
INTRODUCTION Docker Fundamentals
SUMMARY
I Containers are pretty slick and useful for packagingapplications
I Docker is the standard de facto (for now) for runningcontainers
I Docker alone is not enough to run containers big time
![Page 63: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/63.jpg)
INTRODUCTION Docker Fundamentals
SUMMARY
I Containers are pretty slick and useful for packagingapplications
I Docker is the standard de facto (for now) for runningcontainers
I Docker alone is not enough to run containers big time
![Page 64: Kubernetes 101 - FrOSCon · Our motivation to do this talk Provide an overview of container architechture on the example of Docker and Kubernetes. INTRODUCTION Docker Fundamentals](https://reader034.vdocuments.mx/reader034/viewer/2022042414/5f2efd0c9e01c3363477e8e3/html5/thumbnails/64.jpg)
INTRODUCTION Docker Fundamentals
NEXT UP
Kubernetes Fundamentals