KCNA · Question #52
What is the purpose of the CRI?
The correct answer is C. Provide an interface allowing Kubernetes to support pluggable container runtimes. The Container Runtime Interface (CRI) is a plugin interface that enables Kubernetes to use various container runtimes, ensuring flexibility and interoperability.
Question
What is the purpose of the CRI?
Options
- ATo provide runtime integration control when multiple runtimes are used.
- BSupport container replication and scaling on nodes.
- CProvide an interface allowing Kubernetes to support pluggable container runtimes.
- DAllow the definition of dynamic resource criteria across containers.
How the community answered
(45 responses)- A2% (1)
- B2% (1)
- C96% (43)
Why each option
The Container Runtime Interface (CRI) is a plugin interface that enables Kubernetes to use various container runtimes, ensuring flexibility and interoperability.
While CRI facilitates the use of multiple runtimes, its core purpose is to define a standard interface for interaction, not primarily for 'runtime integration control' in a general sense.
Container replication and scaling are handled by Kubernetes controllers like Deployments and ReplicaSets, not directly by the CRI.
The Container Runtime Interface (CRI) is a primary protocol for communication between the kubelet and container runtimes. It allows Kubernetes to interact with different container runtimes (e.g., containerd, CRI-O) through a standardized gRPC interface, making the container runtime pluggable.
Defining dynamic resource criteria across containers is typically done via Pod specifications and resource quotas, which are Kubernetes API objects, not a direct function of the CRI.
Concept tested: Kubernetes Container Runtime Interface (CRI) purpose
Source: https://kubernetes.io/docs/concepts/architecture/cri/
Topics
Community Discussion
No community discussion yet for this question.