-
Notifications
You must be signed in to change notification settings - Fork 81
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
using privateInterface does not seem to pick the right address #760
Comments
It tries to find an address on the If a private address is set (via |
What's the way to fix this? I have hosts defined like this:
I run
As you can see, k0s ignored the
|
We tries to deploy k0s in linode (akamai). The vpc in linode seems to do source/dest check (and operates in layer 3), which means that kube-router does not work. to work around this we added a vlan (layer 2), which give the node a second interface, eth1.
Kubelet ended up using the ip of eth0, so we tried to use the
privateInterface
option in the k0sctl config.For the controller, it picked up the ip address of eth1 as expected, but the worker nodes did not append
--node-ip
to kubelet, which led to node to node config not working.Should
privateInterface
set--node-ip
as an extra arg for kubelet?setting the
privateAddress
did appear to work.The text was updated successfully, but these errors were encountered: