-
Notifications
You must be signed in to change notification settings - Fork 40.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
kubeadm: default etcd address based on the IP family #85745
Conversation
/hold |
70182cf
to
20b5d9f
Compare
/test pull-kubernetes-e2e-kind-ipv6 |
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 @aojea
/approve
/assign @ereslibre
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, neolit123 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 |
20b5d9f
to
9245e59
Compare
/test pull-kubernetes-e2e-kind-ipv6 |
9245e59
to
8483d32
Compare
/test pull-kubernetes-e2e-kind-ipv6 |
/test pull-kubernetes-conformance-kind-ipv6 |
/test pull-kubernetes-conformance-kind-ipv6 |
/test pull-kubernetes-e2e-gce |
/hold cancel |
1698fd1
to
d6dffd6
Compare
/test pull-kubernetes-conformance-kind-ipv6 |
/test pull-kubernetes-conformance-kind-ipv6 |
/test pull-kubernetes-kubemark-e2e-gce-big |
kubeadm always use the IPv4 localhost address by defaultA for etcd The probe hostname is obtained before the generation of the etcd parameters, so it can't detect the right IP familiy for the host of the probe. This causes that with IPv6 clusters doesn't work because the probe uses the IPv4 localhost address. This patchs configures the right localhost address based on the used AdvertiseAddress IP family.
d6dffd6
to
335a3e9
Compare
/test pull-kubernetes-conformance-kind-ipv6 |
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.
Thank you @aojea.
/lgtm
/hold
^ for more eyes to lgtm.
/hold cancel |
/test pull-kubernetes-e2e-kind-ipv6 |
@aojea: 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. |
The ipv6 job is flaky and only two storage tests failed, is ok, thanks for the quick reviews |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
kubeadm always configured the etcd endpoint to the IPv4 localhost address.
This patchs configures the right localhost address based on the used
AdvertiseAddress IP family.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: