This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
Prepare to use CRI instead of built-in dockershim #1058
Labels
area/kubernetes
Core Kubernetes stuff
area/updates
Items related to updates
kind/enhancement
New feature or request
kind/research
Research issues
Kubernetes uses the Container Runtime Interface, created by Kubernetes, to communicate with the container runtime. Docker doesn't provide a way to interact with the CRI and support is built into the kubelet to do that. It is called dockershim
Kubernetes will add a warning about dockershim being deprecated in Kubernetes 1.20: kubernetes/enhancements#1985. However, as you can see in that KEP, there is no migration guide created yet and is not clear if dockershim will be maintainer by others out of the Kubelet or not. Of course, the CRI interface is alpha too 😂. The target is not really close nor too far away: Kubernetes 1.21 (https://github.com/kubernetes/enhancements/pull/1985/files#diff-8368b5d11d71e49cc6ca0e6289548c45R143-R146)
There are several options (like use containerd that supports the CRI as a plugin), but we should take into account:
More info regarding 1:
More info regarding 2:
EDIT: Just to be clear, I guess this is an issue until the CRI is GA (or tools supports more than one interface). My guess is that once CRI is GA, this won't be an issue anymore. Therefore, another way to look into this is: see how to smartly workaround the problems that arise until the interface is stable and all is solved :)
The text was updated successfully, but these errors were encountered: