k8s runtime cri
时间: 2023-10-29 17:43:10 浏览: 39
Kubernetes (k8s) uses a Container Runtime Interface (CRI) to communicate with container runtimes. The CRI specifies a protocol for communication between Kubernetes and container runtimes, allowing Kubernetes to use different container runtimes without needing to change its codebase.
The CRI defines a standard API for container runtimes to use when interacting with Kubernetes, enabling Kubernetes to manage containers and containerized applications regardless of the underlying runtime technology.
Examples of container runtimes that support the CRI include Docker, containerd, CRI-O, and others. Each runtime implements the CRI API in its own way, but all support the same basic functionality, such as creating and managing containers, and handling container networking and storage.