Skip to content
Commit a5137aff authored by Chad Swenson's avatar Chad Swenson
Browse files

Hostname alias fixes

Change the kubelet --hostname-override flag to use the ansible_hostname variable which should be more consistent with the value required by cloud providers

Add ansible_hostname alias to /etc/hosts when it is different from inventory_hostname to overcome node name limitations see https://github.com/kubernetes/kubernetes/issues/22770



Signed-off-by: default avatarChad Swenson <chadswen@gmail.com>
parent 1de12747
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment