Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set hostname for kube-proxy if cloud provider is aws
kubelet uses nodename set by aws cloud provider, but kube-proxy doesn't. kube-proxy expects the hostname to be the same as the nodename, otherwise it doesn't set the right iptables rules. Getting nodename from instance metadata and passing it via hostname-override so kube-proxy gets the expected hostname. This requires fix from RKE that removes hostname-override flag from kube-proxy command args for aws cloud provider so it can be set here in rke-tools.
- Loading branch information