Skip to content
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

Initial IPv6 support #636

Merged
merged 6 commits into from
Jun 21, 2019
Merged

Initial IPv6 support #636

merged 6 commits into from
Jun 21, 2019

Conversation

BenTheElder
Copy link
Member

@aojea's PR (#348) is really close, seeing if we can finish it up before 0.4 :-)

aojea and others added 6 commits June 21, 2019 10:41
Adds an environment variable (IP_FAMILT) to the script that runs the e2e
tests in the CI to allow to choose the kubernetes ip family used in
the clusters.

By default the variable choose ipv4
This commits adds allows kind to create IPv6 Kubernetes clusters
and makes the code ready to implement dual stack support. For simplicity,
only one address of each ip family is considered.

It adds 2 new options to the v1alpha3 API: ipFamily and serviceSubnet
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 21, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenTheElder

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 21, 2019
@BenTheElder
Copy link
Member Author

/test pull-kind-conformance-parallel-ipv6

@k8s-ci-robot
Copy link
Contributor

@BenTheElder: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-kind-conformance-parallel-ipv6 59dfcf4 link /test pull-kind-conformance-parallel-ipv6

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.

@BenTheElder
Copy link
Member Author

the last commit fixed the job (still failing, but only because some of the conformance test ipv6 issues that are known and don't appear to be kind specific)

@BenTheElder BenTheElder requested review from aojea and amwat and removed request for munnerz June 21, 2019 20:39
@BenTheElder BenTheElder added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 21, 2019
@BenTheElder
Copy link
Member Author

locally tested with single node 😉
this is awesome. no major remaining issues. thank you so much @aojea 🎉

@k8s-ci-robot k8s-ci-robot merged commit edbae5f into kubernetes-sigs:master Jun 21, 2019
@BenTheElder
Copy link
Member Author

(self lgtm because my additional commit is a trivial fix, and I already approve all of the remaining code :-))

@BenTheElder BenTheElder deleted the ipv6 branch June 21, 2019 20:42
@BenTheElder BenTheElder mentioned this pull request Jun 21, 2019
@aojea
Copy link
Contributor

aojea commented Jun 21, 2019

Omg I'm almost crying with the emotion

@neolit123
Copy link
Member

nice work, guys. 🎉

@BenTheElder
Copy link
Member Author

Let's go get a CI job up!

@@ -347,3 +363,4 @@ kind, the Kubernetes cluster itself, etc.
[Kubernetes imagePullPolicy]: https://kubernetes.io/docs/concepts/containers/images/#updating-images
[Private Registries]: /docs/user/private-registries
[customize control plane with kubeadm]: https://kubernetes.io/docs/setup/independent/control-plane-flags/
[docker enable ipv6]: https://docs.docker.com/config/daemon/ipv6/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the instructions on that page don't set fixed-cidr-v6 so the daemon fails to start

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember running into this now... shall we send them a PR? 🙃
https://github.com/docker/docker.github.io/edit/master/config/daemon/ipv6.md

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They have it documented here https://docs.docker.com/v17.09/engine/userguide/networking/default_network/ipv6/ , don´t know why they didn´t explain it in that link

@BenTheElder
Copy link
Member Author

BenTheElder commented Jun 24, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants