KubeDojo

CRI: Container Runtime Interface in Depth

AK
by Alexis Kinsella··18 min read
CRI: Container Runtime Interface in Depth

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.

Sign in to access this lesson

Create a free account or sign in to enroll in the CKA — Certified Kubernetes Administrator course and access all 63 lessons.

CKA — Certified Kubernetes Administrator

63 lessons

Browse the full course curriculum →