you can’t do that. You cannot change the Kubernetes node name without deleting and re-adding the node to the cluster. Deleting the node will remove any pods scheduled to it.
creamy-pencil-82913
01/20/2023, 8:13 PM
Generally speaking you should settle on the network configuration before bringing the cluster up. Making significant changes to the network config or hostnames/addresses afterwards is going to be disruptive to the workloads on those nodes.