CKA · Cluster Architecture, Installation and Configuration · lesson 15 of 18

CRI: Container Runtime Interface in Depth

How the kubelet talks to container runtimes via CRI, and how to configure, debug, and extend that boundary with containerd, CRI-O, and crictl.

18 min · Exam domain: Cluster Architecture, Installation and Configuration (25%)

You SSH into a node reporting NotReady. The kubelet logs say container runtime status check failed. You run crictl info and get connection refused. Now what?

Everything past that point depends on understanding how the kubelet and the container runtime talk to each other. The kubelet knows nothing about how containers actually run. It speaks gRPC to a Unix socket, and whatever answers on the other side does the real work: creating namespaces, pulling images, mounting volumes, starting processes. That gRPC protocol is the Container Runtime Interface (CRI), and since the dockershim removal in Kubernetes 1.24, containerd and CRI-O are the two production implementations that speak it.

Enroll to read the rest of this lesson

Free. Your progress and certificate come with it.

Enroll, free