SlideShare a Scribd company logo
@estesp
CRI Runtimes: Who
is running my pod?
@estesp
Hello!
I’m Phil Estes
Distinguished Engineer
Linux OS & Container Architecture Strategy
IBM Cloud, Office of the CTO
CNCF Ambassador, containerd maintainer
@estesp
@estesp
I bet you’ve used Docker.
You’re probably using Kubernetes?
@estesp
orchestrator
Kubernetes is an
@estesp
kubelet dockershim dockerd
containerd
runc
https://github.com/kubernetes/kubernetes/tree/release-1.4/pkg/kubelet/dockershim
Kubernetes doesn’t run your containers
@estesp
Runtime wars led to OCI specs
OCI specifications
Linux kernel Windows kernel
Docker, containerd, cri-o,
Kata, Firecracker, gVisor,
Nabla, Singularity, ...
DockerHub, OSS
distribution project, Cloud
registries, JFrog, ...
@estesp
@estesp
Kubernetes Container Runtime
CRI
▧ K8s API
▧ Storage
▧ Networking (CNI)
▧ Healthchecks
▧ Placement
▧ Custom resources
▧ Pod container
lifecycle
○ Start/stop/delete
▧ Image management
○ Push/pull/status
▧ Status
▧ Container interactions
○ attach, exec, ports, log
@estesp
kubelet --container-runtime {string}
--container-runtime-endpoint {string}
What Runtimes Exist?
kubelet
dockershim
dockerd
kubelet
cri-containerd
containerd
kubelet
cri-o
runc
kubelet
containerd
Kata Firecracker
kubelet
singularity-cri
singularity
*and Nabla, gVisor, ...
*v2 shim
@estesp
CRI Runtimes Overview
• A stable, core, performant core container runtime for the cloud
• Has a CRI implementation, and is a CNCF graduated project
• “all the runtime Kubernetes needs and nothing more”; RH created
• CRI implementation over runc and 2 open libraries; K8s incubator
• Intel Clear Containers + Hyper.sh combined project
• Lightweight virtualization (KVM/qemu) under cri-o and containerd
• Amazon open source project announced Nov 2018; lightweight virt.
• Uses Rust-based VMM instead of qemu; plugs into containerd
• CRI implementation over Sylabs Singularity runtime project
• Userbase traditionally from academia/HPC use cases
@estesp
But...
why should I
care?
@estesp
The benefits of runtime
pluggability are mostly focused on
operational concerns.
@estesp
runtimes
@estesp
What do I need?
▧ Performance
▧ Stability
▧ (Optional) Hypervisor Isolation
▧ Security Capabilities
▧ Broad Usage
▧ Multi-architecture Support
@estesp
A Core Runtime
runc
containerd
20182016
March 2017 Feb 2019
containerd to CNCF
containerd created 1.1, 1.2 major releases
CNCF graduated proj.
@estesp
Containerd + CRI
https://kubernetes.io/blog/2018/05/24/kubernetes-containerd-integration-goes-ga/
@estesp
Containerd Adoption
@estesp
Kubernetes 1.14.1 + contained 1.2.6
@estesp
Demo time
@estesp
What is all this?
$ kubectl kubelet
cri-containerd
containerd
$ crictl
$ ctr
K8s API
CRI API
containerd
API
@estesp
Going Further
▧ crictl User’s Guide:
https://github.com/containerd/cri/blob/master/docs/crictl.md
▧ Stephen Day’s KubeCon 2018 containerd talk:
https://www.youtube.com/watch?v=3AynH3c0F8M
▧ Containerd project and website:
https://github.com/containerd/containerd https://containerd.io
▧ My blog posts on the topic:
https://integratedcode.us/tag/containerd
@estesp
Thanks!
Any questions?
You can find me at:
@estesp
estesp@gmail.com
@estesp
Credits
Special thanks to all the people who made and
released these awesome resources for free:
▧ Presentation template by SlidesCarnival
▧ Photographs by Unsplash
▧ Backgrounds by Pixeden

More Related Content

PDF
What's Running My Containers? A review of runtimes and standards.
PDF
Let's Try Every CRI Runtime Available for Kubernetes
PDF
Whose Job Is It Anyway? Kubernetes, CRI, & Container Runtimes
PDF
Securing Containerized Applications: A Primer
PDF
Enabling Security via Container Runtimes
PDF
Securing Containerized Applications: A Primer
PDF
FOSDEM 2019: A containerd Project Update
PDF
Docker London Meetup: Docker Engine Evolution
What's Running My Containers? A review of runtimes and standards.
Let's Try Every CRI Runtime Available for Kubernetes
Whose Job Is It Anyway? Kubernetes, CRI, & Container Runtimes
Securing Containerized Applications: A Primer
Enabling Security via Container Runtimes
Securing Containerized Applications: A Primer
FOSDEM 2019: A containerd Project Update
Docker London Meetup: Docker Engine Evolution

What's hot (20)

PDF
CRI Runtimes Deep-Dive: Who's Running My Pod!?
PDF
Cloud Native TLV Meetup: Securing Containerized Applications Primer
PDF
Docker Engine Evolution: From Monolith to Discrete Components
PDF
Embedding Containerd For Fun and Profit
PDF
Giving Back to Upstream | DockerCon 2019
PDF
It's 2018. Are My Containers Secure Yet!?
PPTX
Introduction kubernetes 2017_12_24
PPTX
CRI-containerd
PDF
Kubernetes 架構與虛擬化之差異
PDF
Extended and embedding: containerd update & project use cases
PDF
Containerd Project Update: FOSDEM 2018
PDF
Docker Athens: Docker Engine Evolution & Containerd Use Cases
PDF
Kubernetes basics and hands on exercise
PPTX
Moby Summit introduction
PDF
An Open Source Story: Open Containers & Open Communities
PDF
Secure your K8s cluster from multi-layers
PPTX
How to Achieve Canary Deployment on Kubernetes
PDF
Containerd Internals: Building a Core Container Runtime
PDF
DevOps Fest 2020. Сергій Калінець. Building Data Streaming Platform with Apac...
PDF
The relationship between Docker, Kubernetes and CRI
CRI Runtimes Deep-Dive: Who's Running My Pod!?
Cloud Native TLV Meetup: Securing Containerized Applications Primer
Docker Engine Evolution: From Monolith to Discrete Components
Embedding Containerd For Fun and Profit
Giving Back to Upstream | DockerCon 2019
It's 2018. Are My Containers Secure Yet!?
Introduction kubernetes 2017_12_24
CRI-containerd
Kubernetes 架構與虛擬化之差異
Extended and embedding: containerd update & project use cases
Containerd Project Update: FOSDEM 2018
Docker Athens: Docker Engine Evolution & Containerd Use Cases
Kubernetes basics and hands on exercise
Moby Summit introduction
An Open Source Story: Open Containers & Open Communities
Secure your K8s cluster from multi-layers
How to Achieve Canary Deployment on Kubernetes
Containerd Internals: Building a Core Container Runtime
DevOps Fest 2020. Сергій Калінець. Building Data Streaming Platform with Apac...
The relationship between Docker, Kubernetes and CRI
Ad

Similar to CraftConf 2019: CRI Runtimes Deep Dive: Who Is Running My Pod? (20)

PDF
CRI Runtimes Deep Dive: Who's Running My Kubernetes Pod!?
PPTX
Kubernetes CRI containerd integration by Lantao Liu (Google)
PDF
containerd and CRI
PDF
Introduction to containers, k8s, Microservices & Cloud Native
PDF
Kubernetes
PDF
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
PDF
OSDC 2016 | rkt and Kubernetes: What’s new with Container Runtimes and Orches...
PDF
Introduction to kubernetes
PDF
gVisor, Kata Containers, Firecracker, Docker: Who is Who in the Container Space?
PPTX
Kubernetes for the VI Admin
PDF
CRI, OCI, and CRI-O
PPTX
Introduction to kubernetes
PPTX
Introduction+to+Kubernetes-Details-D.pptx
PPTX
containerd the universal container runtime
PDF
Introduction and Deep Dive Into Containerd
PDF
[KubeCon EU 2021] Introduction and Deep Dive Into Containerd
PPTX
Tectonic Summit 2016: Brandon Philips, CTO of CoreOS, Keynote
PDF
Kubernetes Basics
PPTX
Working with kubernetes
PDF
20250403 [KubeCon EU] containerd - Project Update and Deep Dive.pdf
CRI Runtimes Deep Dive: Who's Running My Kubernetes Pod!?
Kubernetes CRI containerd integration by Lantao Liu (Google)
containerd and CRI
Introduction to containers, k8s, Microservices & Cloud Native
Kubernetes
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
OSDC 2016 | rkt and Kubernetes: What’s new with Container Runtimes and Orches...
Introduction to kubernetes
gVisor, Kata Containers, Firecracker, Docker: Who is Who in the Container Space?
Kubernetes for the VI Admin
CRI, OCI, and CRI-O
Introduction to kubernetes
Introduction+to+Kubernetes-Details-D.pptx
containerd the universal container runtime
Introduction and Deep Dive Into Containerd
[KubeCon EU 2021] Introduction and Deep Dive Into Containerd
Tectonic Summit 2016: Brandon Philips, CTO of CoreOS, Keynote
Kubernetes Basics
Working with kubernetes
20250403 [KubeCon EU] containerd - Project Update and Deep Dive.pdf
Ad

More from Phil Estes (11)

PDF
JAX Con 2019: Containers. Microservices. Cloud. Open Source. Fantasy or Reali...
PDF
Bucketbench: Benchmarking Container Runtime Performance
PDF
Container Runtimes: Comparing and Contrasting Today's Engines
PDF
AtlanTEC 2017: Containers! Why Docker, Why NOW?
PDF
Quantifying Container Runtime Performance: OSCON 2017 Open Container Day
PDF
Empower Your Docker Containers with Watson - DockerCon 2017 Austin
PDF
Containerize, PaaS, or Go Serverless!?
PDF
Diving Through The Layers: Investigating runc, containerd, and the Docker eng...
PDF
Container Security: How We Got Here and Where We're Going
PDF
Devoxx 2016: A Developer's Guide to OCI and runC
PDF
Live Container Migration: OpenStack Summit Barcelona 2016
JAX Con 2019: Containers. Microservices. Cloud. Open Source. Fantasy or Reali...
Bucketbench: Benchmarking Container Runtime Performance
Container Runtimes: Comparing and Contrasting Today's Engines
AtlanTEC 2017: Containers! Why Docker, Why NOW?
Quantifying Container Runtime Performance: OSCON 2017 Open Container Day
Empower Your Docker Containers with Watson - DockerCon 2017 Austin
Containerize, PaaS, or Go Serverless!?
Diving Through The Layers: Investigating runc, containerd, and the Docker eng...
Container Security: How We Got Here and Where We're Going
Devoxx 2016: A Developer's Guide to OCI and runC
Live Container Migration: OpenStack Summit Barcelona 2016

Recently uploaded (20)

PDF
Digital Strategies for Manufacturing Companies
PPTX
L1 - Introduction to python Backend.pptx
PPTX
ai tools demonstartion for schools and inter college
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Introduction to Artificial Intelligence
PDF
System and Network Administraation Chapter 3
PDF
Nekopoi APK 2025 free lastest update
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Transform Your Business with a Software ERP System
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
history of c programming in notes for students .pptx
Digital Strategies for Manufacturing Companies
L1 - Introduction to python Backend.pptx
ai tools demonstartion for schools and inter college
Navsoft: AI-Powered Business Solutions & Custom Software Development
ManageIQ - Sprint 268 Review - Slide Deck
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Introduction to Artificial Intelligence
System and Network Administraation Chapter 3
Nekopoi APK 2025 free lastest update
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Transform Your Business with a Software ERP System
Wondershare Filmora 15 Crack With Activation Key [2025
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
How Creative Agencies Leverage Project Management Software.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
2025 Textile ERP Trends: SAP, Odoo & Oracle
Upgrade and Innovation Strategies for SAP ERP Customers
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
history of c programming in notes for students .pptx

CraftConf 2019: CRI Runtimes Deep Dive: Who Is Running My Pod?