-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
network: add ipv6 only global option #11831
Conversation
|
Welcome @borislitv! |
Hi @borislitv. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution, the initiative looks great. I left a few comments on possible improvements to improve readability though.
roles/kubernetes/control-plane/templates/kubeadm-config.v1beta3.yaml.j2
Outdated
Show resolved
Hide resolved
roles/container-engine/cri-dockerd/templates/cri-dockerd.service.j2
Outdated
Show resolved
Hide resolved
420079a
to
3dc5142
Compare
It work in my vagrant:
/retest |
d1d99c7
to
4687e18
Compare
@geneliu my test with kubeadm etcd but checked on my local vagrant with etcd without kubeadm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! It looks good to me, could you just clean up a bit your commits 🙏?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: borislitv, MrFreezeex, VannTen 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 |
squashed |
/lgtm |
This appears to have broken pre-commit ansible-lint, would you mind taking a look ?
|
I'll see a couple of hours. and I'll make a new pr |
looks like a bug in ansible-lint ansible/ansible-lint#3136 |
Hum, maybe this explains why this has been inconsistent... I had this in the pre-commit ci PR and then it disappeared... Don't worry then thanks for digging the related issue 👍
|
I think I figured out the issue. ansible-lint apparently install collections when running (from galaxy.yml I guess ?). It passes without issue if the collections are not installed, (and installs them), but fails when there are already installed (I think by default they are in ~/.ansible/collections) |
looked again at the template, unfortunately it will not work otherwise, because variable is needed without brackets in https://github.com/borislitv/kubespray/blob/1f8b722d4ccdef4d9049ba4855de5992a22704ea/roles/kubernetes/client/tasks/main.yml#L50 |
I didn't dig in the template itself, but it does not look like an actual problem, more like a bug in ansible-lint (similar but not identical to the one above). I'll open an issue over there to see what can be done about that 🤔 |
This PR is not working on ipv4 only systems |
Also the configuration should be done once via set fact or something other mechanism than going down the road of a condition in every single variable, it won't be maintainable long-term to have a switch in every one of them. for example so instead of doing
I suggest to do:
That way the change is isolated in one location and propagated in every variable that uses or will use access_ip |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Support ipv6 only clusters
Which issue(s) this PR fixes:
Fixes #5649
Special notes for your reviewer:
Does this PR introduce a user-facing change?: