In vagrant, all the nodes seem to come up with the NAT interface address (10.0.2.15).
This lets you set kubelet_hostname_override, which will make it use the address from public_iface when kubelet is launched.
root@kube1:~# kubectl get nodes
NAME STATUS AGE
172.16.35.11 Ready 21m
172.16.35.12 Ready 20m
172.16.35.13 Ready 20m
In vagrant, all the nodes seem to come up with the NAT interface address (
10.0.2.15
). This lets you setkubelet_hostname_override
, which will make it use the address frompublic_iface
when kubelet is launched.