-
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
[WIP]Add ipv6 error message check to support the nerdctl #3396
Conversation
/retest |
6dc2409
to
239bc7d
Compare
Signed-off-by: Kay Yan <[email protected]>
the problem I see is that once nerdctl implement the --ipv6 flag we'll have to remove the error, right? what is blocking |
I think it depends on how long it takes to ship IPv6, right now released nerdctl won't work even with this patch AIUI but there might be intermediate versions worth supporting and this path could be safely left in place. I do wonder if we should fork to a nerdctl provider though, which would also let us avoid requiring the user to put a fake docker symlink in their path. We've had a bad experience with this with podman in the past versus detecting that it's actually podman and having dedicated provider / code paths. |
@AkihiroSuda has some list somewhere with the missing things, his opinion will be interesting |
The lack of the CI for IPv6 is considered to be a blocker for this PR: I think this is just a soft blocker, as Docker doesn't have IPv6 CI either (IIUC). |
SGTM, but I think the implementation should try to avoid the amount of the code clones (unlike |
we run ipv6 in github actions, what is exactly nlockling ... I'll try to take a look later |
FWIW It's not too much code (~1200 loc for the entire "provider") and when we review changes to the existing drivers we ask that they be copied between them when PRs aren't obviously specific to that driver. We can start with a copy paste and just swap
I don't think IPv6 support should be a blocker, kind already works on hosts without IPv6 and will need to continue to for the forseeable future. IPv6 is also somewhat broken in docker, kind. I think we'll also want to get some minimal CI up, at least testing one configuration of nerdctl |
Thanks @aojea @BenTheElder @AkihiroSuda for the PR review The ipv6 has been supported by the Thank you all very much. :-) And what's the next step to do to make kind support nerdctl ? for example:
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: yankay The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@yankay: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Do not merge
HI dears.
I'm one of the maintainers of nerdctl, and I'm working on the nerdctl to support the kind recently.
The cluster has been successfully created by kind with nerdctl:
The issues of nerdctl has been almost fixed, only 2 PR is pending:
nerdctl ps --format {{.Names}}
behaviour containerd/nerdctl#2594com.docker.network.bridge.enable_ip_masquerade
option containerd/nerdctl#2592And there needs a change of kind.
Because the nerdctl do not support the ipv6 network now, so it needs kind to skip the ipv6 config.
If the kind can read the error message of kind, and skip it , the cluster can be create successully.
Thanks :-)