Container Orchestration
medium

Questão de Container Orchestration #019e3a4f

Enunciado da Questão
Container Orchestration
#cri
#container-runtime
#kubernetes
#containerd
#dockershim
Médio

Which of the following systems is NOT compatible with the CRI runtime interface standard?

A

CRI-0

B

dockershim

C

systemd

Correta
D

containerd

Explicação Oficial / Explicações da Comunidade

The Container Runtime Interface (CRI) is a plugin interface that enables kubelet to use a wide variety of container runtimes without needing to recompile. CRI defines a set of gRPC APIs for container operations. Among the options, systemd is not a container runtime and does not implement the CRI specification. systemd is an init system and service manager for Linux, responsible for bootstrapping user space and managing system processes. It does not provide container runtime capabilities.

How it Works

CRI allows Kubernetes to interact with different container runtimes through a standardized API. The kubelet communicates with the runtime via CRI to manage pods and containers. Runtimes like containerd and CRI-O implement the CRI interface, while dockershim was a component in kubelet that provided a CRI-compatible interface for Docker Engine (which itself does not natively implement CRI).

Why the Correct Answer is Right

systemd is not a container runtime and does not implement the CRI. It is a system and service manager, not designed to run containers. Therefore, it is NOT compatible with the CRI runtime interface standard.

Why the Incorrect Answers are Wrong

  • CRI-O: This is a lightweight container runtime specifically built for Kubernetes that implements the CRI. It is fully compatible.
  • dockershim: This was a component within the kubelet that allowed Docker to be used as a container runtime via CRI. Although deprecated, it was compatible with CRI.
  • containerd: This is a high-level container runtime that implements the CRI and is used by many Kubernetes clusters. It is fully compatible.