-
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
Minikube support for k8s v1.26 with docker #15542
Comments
In order to support kubernetes 1.26.0, cri-dockerd needs to be upgraded to 0.3.0 (in order to support CRI v1) You should be able to run it with Since the upstream project no longer supports or tests with Docker, the support was not ready in time for release. But there is a release out now, so it should be possible: https://github.com/Mirantis/cri-dockerd/releases/tag/v0.3.0 |
Probably also have to run minikube from master, to avoid issues like the preload/cache: But that should be less severe, like pulling multiple images or using the wrong pause version. |
@afbjorklund I did run into the error |
It is supposed to cache the individual images when using If you depend on docker as your runtime, you can replace It does work (with k8s 1.26) after CRI upgrade, but is not built/included in minikube system images yet. I personally think we should replace Docker for 1.27 (2023), but there's a lot of legacy code requiring it. |
It seems doable in my local test development. I'm not sure if this is a good strategy for tests in CI using GHA. I need to validate but I hope we don't depend on Docker.
I assume you were talking about k8s v1.27 should drop support Docker completely. Am I correct ? |
Nah, I just meant that in time for k8s 1.27.0 it is probably time to make containerd the default - not to drop it. https://github.com/kubernetes/minikube/blob/master/enhancements/rejected/container-default.md The "support" for it in Kubernetes ended with 1.23, after that it has been maintained by Docker and Mirantis... But in a way this also involves Docker Desktop, since I would prefer minikube to use an Open Source solution. |
Hey, I don't know if it is the same issue or not, but I also have a problem starting minikube with Kubernetes 1.26. I have installed the cri-dockerd 0.3.0 and it did not help. What am I missing? thx
|
The new cri-dockerd only supports the CRI v1 API, it doesn't fix any other issues (compared with 0.2.6) In particular, if you are using containerd and not docker it is not related at all. Please open a new issue.
|
Even though using I am still unsure what the root cause is though because I'm not certain that
|
Kubernetes is a Linux program, so docker and cri-docker needs to be installed in the virtual machine or container:
It is already installed, just that the version needs to be increased from the current 0.2.x to the new version 0.3.0 https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.0/cri-dockerd-0.3.0.arm64.tgz (no .deb yet) |
@afbjorklund Running into a lot huddles, I feel like it is still early for me to try. I probably just need to wait for the next version of minikube. |
No binaries for 0.3.0 and no deb for arm64, so you would have to unpack the tarball - or wait until it is supported |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Binaries are now available |
What Happened?
Hello,
It appears that the current version of Minikube (v1.28.0) not yet support k8s v1.26.0. I forced Minikube to use k8s v1.26.0 and it failed. We are trying to support k8s v1.26.0 as soon as possible and our test infra heavily depends on Minikube usage. Without running Minikube with k8s v1.26.0, we are blocked on supporting k8s v1.26.0. We wonder if supporting k8s v1.26 is on the roadmap. If there is, could you share us the expected release date ?
Thank you.
Attach the log file
Operating System
macOS (Default)
Driver
Docker
The text was updated successfully, but these errors were encountered: