-
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
Use node ip autodiscovery [forked] #1518
Conversation
[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 |
&& sed -i /usr/lib/systemd/system/systemd-tmpfiles-clean.timer -e 's#OnBootSec=.*#OnBootSec=1min#' | ||
&& sed -i /usr/lib/systemd/system/systemd-tmpfiles-clean.timer -e 's#OnBootSec=.*#OnBootSec=1min#' \ | ||
&& echo "Modifying /etc/nsswitch.conf to prefer hosts" \ | ||
&& sed -i /etc/nsswitch.conf -re 's#^(hosts:\s*).*#\1dns files#' |
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.
preserve the indent and do this at build time instead of runtime
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.
This seems better indeed
/retest |
Could you check if reboot works? |
I didn't yet, and I'm currently booted to windows on my desktop 😱 /s (no IPv6 clusters on mac / windows...) |
no problem, I'm going to do it now |
Before restart
After only control-plane goes up, the workers fail with the following error
|
I can fix that in the morning I think.
…On Mon, Apr 27, 2020, 01:34 Antonio Ojea ***@***.***> wrote:
Before restart
ubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAG
E KERNEL-VERSION CONTAINER-RUNTIME
kind-control-plane Ready master 3m54s v1.19.0-alpha.2.172+ce65f0e7ddeb60-dirty 172.19.0.2 <none> Ubuntu
19.10 4.12.14-lp151.28.13-default containerd://1.3.3-14-g449e9269
kind-worker Ready <none> 3m19s v1.19.0-alpha.2.172+ce65f0e7ddeb60-dirty 172.19.0.3 <none> Ubuntu
19.10 4.12.14-lp151.28.13-default containerd://1.3.3-14-g449e9269
kind-worker2 Ready <none> 3m19s v1.19.0-alpha.2.172+ce65f0e7ddeb60-dirty 172.19.0.4 <none> Ubuntu
19.10 4.12.14-lp151.28.13-default containerd://1.3.3-14-g449e9269
After only control-plane goes up, the workers fail with the following error
sed: can't read /etc/kubernetes/manifests/*.yaml: No such file or directory
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1518 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHADK4REZQH4PMLWH3BN6LROU7QNANCNFSM4MRR6YHA>
.
|
don't worry, I'll send a patch |
/hold This has a side effect, now we have two ip addresses
|
and it always return ipv6 first, I just checked in an IPv4 node
|
it does work with ipv6 🥳 |
Can we pass kubelet 0.0.0.0 for ipv4 discovery? |
the option was implemented only for I think is better to pass the |
superseded #1521 |
#1513 but with the base image cleaned up.