-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add support for minikube+containerd #5143
Comments
FWIW, this should be a relatively high priority, as minikube is expected to switch the default runtime in Q1. For non-Docker runtimes, I recommend using the |
@ErmakovDmitriy We don't support running minikube with containerd yet. However, that said, there is a skaffold bug here. For kaniko builder, skaffold should not shell |
It's worth noting that since this issue was originally opened, minikube added a |
We are hit by this issue when we tried moving our dev tooling to target containerd with minikube. AKS now defaults to containerd runtime post 1.19 k8s version and we want to align our tooling to target same. I see multiple issues around same. Is fair to say that #5739 will resolve this issue and correct to track. |
@sammym1982 yes #5739 will address this issue, and is currently on the team's radar. since that issue has become active, I'll go ahead and close this one as the dupe and we can track over there. |
I tried to build my project using minikube, skaffold and kaniko.
Kaniko is used because I tried to use minikube with containerd (not Docker). The main reason is that the Kubernetes team has plans to deprecate Dockershim.
Expected behavior
Correct build and dev deploy.
Actual behavior
Error:
Information
I thought that there is some error in my skaffold.yaml so I tried to build
examples/kaniko
. The same error.Steps to reproduce the behavior
cd examples/kaniko
skaffold dev
I personally think that Minikube detect at:
skaffold/cluster/minikube.go
in methodnewAPIClient
call tocluster.GetClient().IsMinikube(kubeContext)
returns true because the Kubernetes context name is "minikube" (I checked in debugger).and in
newMinikubeAPIClient
there is a callenv, err := getMinikubeDockerEnv(minikubeProfile)
.In
getMinikubeDockerEnv
we have:which in case of minikube with containerd returns error:
The text was updated successfully, but these errors were encountered: