KCNA · Question #74
The Container Runtime Interface (CRI) defines the protocol for the communication between:
The correct answer is A. The kubelet and the container runtime. The Container Runtime Interface (CRI) standardizes the communication protocol between the kubelet and the container runtime, enabling different container runtimes to be used in Kubernetes.
Question
The Container Runtime Interface (CRI) defines the protocol for the communication between:
Options
- AThe kubelet and the container runtime.
- BThe container runtime and etcd.
- CThe kube-apiserver and the kubelet.
- DThe container runtime and the image registry.
How the community answered
(53 responses)- A87% (46)
- B4% (2)
- C2% (1)
- D8% (4)
Why each option
The Container Runtime Interface (CRI) standardizes the communication protocol between the kubelet and the container runtime, enabling different container runtimes to be used in Kubernetes.
CRI defines the gRPC protocol for communication between the kubelet, which runs on each node, and the container runtime (e.g., containerd, CRI-O) responsible for managing containers on that node. This interface allows Kubernetes to use various container runtimes without being tightly coupled to a specific one.
CRI does not define communication between the container runtime and etcd; etcd stores cluster state, accessed by the API server.
Communication between the kube-apiserver and the kubelet is typically over HTTP/HTTPS, not specifically defined by CRI.
The container runtime interacts with the image registry to pull images, but CRI specifically defines the interface between the kubelet and the runtime itself.
Concept tested: Container Runtime Interface (CRI)
Source: https://kubernetes.io/docs/concepts/architecture/cri/
Topics
Community Discussion
No community discussion yet for this question.