-
Notifications
You must be signed in to change notification settings - Fork 638
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
nerdctl doesn't work with kind #349
Comments
I have the same problem |
some fields are not yet implemented on nerdctl side |
the problem with kind seems deeper than this upon fixing the fields in
so looks like |
There was a lot of pulling of hairs, to get kind and minikube to work with podman. Expect similar docker bug-compatibility fixes, to get them to work with nerdctl too ? |
Being implemented in #426 We still need |
Just landed here from your blog post @tuananh it looks like an interesting idea :) |
/cc @zvonkok |
So the bridge network management instead of default network is mostly about gaining docker's embedded DNS functionality which simplifies some problems around node IP management and users controlling the DNS resolver via controlling the host resolver where dockerd runs. We have this gap with podman as well though, for the moment. The other aspect is trying to ensure dual stack is available for creating clusters. For the ports we could just add a custom kind specific label with the port forwards and fetch that, except in the case of random port, that's a problem for us. We want to let the runtime pick a random free port and then discover it from the running container later in some cases. The rest of the list seems manageable. Instead of attempting to alias nerdctl docker we'd detect docker vs nerdctl and use nerdctl specific code in kind (some for podman). That's already the case for node management and we have that behind an (complex, bad, internal) interface. For image loading we can visit that in a follow up as there's an open discussion about designing a new command to handle portability better and image-archive will work for now with no nerdctl specific code. |
Thanks @AkihiroSuda The issues of has been almost fixed, and the cluster can be create successfully with a little code change. |
close by kubernetes-sigs/kind#3429 |
I use nerdctl rootless setup, create an alias for docker to make
kind
happy but then it still complains thatUpon checking the src code, it seems that it relies on
docker info
command to detect mem,pid and cpushare supports. which nerdctl currently not emitmy
nerdctl info --format '{{json .}}'
output is like this, while docker output has more, notablyMemoryLimit
,CPUShares
, etc...I'm not sure if this alone would be enough to make kind works with nerdctl?
The text was updated successfully, but these errors were encountered: