-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change default container runtime from docker to containerd #13255
Comments
This change is being pushed by upstream, while blaming dockershim: We have already seen some breakage, due to Docker not being tested: |
Note that versions before Kubernetes 1.24 will still default to dockershim. And that versions after Kubernetes 1.24 can still choose to use Docker (opt-in). sp := c.Socket // InternalDockerCRISocket
cs := ""
// There is no more dockershim socket, in Kubernetes version 1.24 and beyond
if sp == "" && c.KubernetesVersion.GTE(semver.MustParse("1.24.0-alpha.1")) {
sp = ExternalDockerCRISocket
cs = "cri-docker.socket"
} |
Maybe obvious, but moving to containerd breaks any "Docker Desktop" dreams. The user can use |
Looks like Docker will still be a supported and tested container runtime, after all. It might even get automatically detected by kubeadm, even if that is "deprecated".
|
Missing this usage information:
Upstream usage information: |
This is a part of #13250, which makes the runtime dynamic
Since Kubernetes is only tested using the "containerd" runtime, it makes sense for minikube to default to using this runtime.
It is also possible to use the "docker" runtime or the "crio" runtimes, but these are not tested by Kubernetes before release.
So the suggestion is to change the new default, for k8s 1.24
This is a more specific change than the old "MEP" proposal
It is already a part of the PR, but noted here for reference...But it doesn't have to be tied to the dockershim removal at all.
It could be changed for k8s 1.23 too, or it could wait until k8s 1.25 ?
The text was updated successfully, but these errors were encountered: