Information
Do not override node hostnames.
Rationale:
Overriding hostnames could potentially break TLS setup between the kubelet and the apiserver. Additionally, with overridden hostnames, it becomes increasingly difficult to associate logs with a particular node and process them for security analytics. Hence, you should setup your kubelet nodes with resolvable FQDNs and avoid overriding the hostnames with IPs.
Solution
Edit the `/etc/kubernetes/kubelet` file on each node and set the `KUBELET_HOSTNAME` parameter to `''`: `KUBELET_HOSTNAME=''`
Based on your system, restart the `kubelet` service. For example: `systemctl restart kubelet.service`
Impact:
Node hostnames should have resolvable FQDNs.