lacework-global-739
Ensure that the --hostname-override argument is not set (Automated)
Description
Do not override node hostnames.
Remediation
Edit the kubelet service file /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
on each worker node and remove the --hostname-override
argument from the KUBELET_SYSTEM_PODS_ARGS
variable.
Reload the configuration to update it with the changes made using:
systemctl daemon-reload
Finally, restart the kubelet service using:
systemctl restart kubelet.service
References
https://kubernetes.io/docs/reference/access-authn-authz/node/