liveBook · Manning

Containerd

As explained in Road to Kubernetes

containerd is an open-source container runtime that manages the complete container lifecycle on a host system.

containerd is a lightweight container runtime: it runs containers on Kubernetes nodes. It is distinct from Docker Engine, which Docker Compose uses. section 8.1.3 section 7.1.2

Use the runtime distinction to place containerd in a deployment stack:

  • Kubernetes runs on clusters of virtual-machine nodes and uses containerd to run containers. section 8.1.3
  • Pods provide the smallest Kubernetes unit for running one or more containers, while Deployments define their desired conditions. section 8.1.3
  • Docker Engine remains a container runtime for Docker Compose; Kubernetes moving away from it does not mean Kubernetes stopped using containers. section 7.1.2

A Kubernetes deployment

A cluster runs Kubernetes on virtual-machine nodes. A Deployment creates Pods, each Pod runs containers through containerd, and a Service exposes them internally or to the internet. section 8.1.3

Figure 8.3 Kubernetes concepts

Use the Kubernetes concepts diagram to see how containerd relates to clusters, nodes, Pods, Deployments, and Services. section 8.1.3

How Road to Kubernetes covers it

How deep it goes
Defines containerd and contrasts it with Docker Engine, but stops short of installation, commands, or runtime internals.
Examples
Uses Kubernetes clusters, virtual-machine nodes, Pods, Deployments, and Services to illustrate containerd’s deployment role.
What it assumes
Assumes basic awareness of containers and Docker, while defining Kubernetes clusters, nodes, Pods, Deployments, and Services at a high level.
What you can do after
Evaluate how containerd fits between Kubernetes and running containers, and distinguish it from Docker Engine.
How it connects
Connects containerd with Kubernetes, Docker Engine, Docker Compose, containers, Pods, Deployments, and Services.

Also explained in

Compare how 3 books explain containerd →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Road to Kubernetes. The section links point to the parts of the book it draws on.