att-comdev / halcyon-kubernetes

Ansible playbooks for a kubadm-based kubernetes deployment, on supporting any cloud and any kubeadm-enabled OS.
Apache License 2.0
35 stars 22 forks source link

Option to set hostname-override for kubelet #2

Closed cgilmour closed 8 years ago

cgilmour commented 8 years ago

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