If a newly created Alibaba Cloud ECS instance name does not match its instance id, the following error is reported when installing Kubernetes (if you specify Alibaba Cloud as the cloud provider):
kubelet_node_status.go:73] Unable to construct v1.Node object for kubelet: failed to get external ID from cloud provider: instance not found
The script is available on https://yq.aliyun.com/articles/73922. A manually created ECS instance, however, does not have this issue.