<p>I deployed a cluster (on premise) as proof of concept, using this command:</p>
<p><code>sudo kubeadm init --upload-certs --pod-network-cidr=x.x.x.x/16 --control-plane-endpoint=x.x.x.x.nip.io</code></p>
<p>Now, i need to change the endpoint from <code>x.x.x.x.nip.io</code> to <code>somename.example.com</code>. How can i do this?</p>
<hr />
<p>Kubeadm version: <code>&amp;version.Info{Major:&quot;1&quot;, Minor:&quot;23&quot;, GitVersion:&quot;v1.23.4&quot;, GitCommit:&quot;e6c093d87ea4cbb530a7b2ae91e54c0842d8308a&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2022-02-16T12:36:57Z&quot;, GoVersion:&quot;go1.17.7&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}</code></p>

v1d3rm3
<p>Posting an answer as a community wiki out of comments, feel free to edit and expand.</p>
<hr />
<p>Based on the documentation and <a href="https://stackoverflow.com/questions/65505137/how-to-convert-a-kubernetes-non-ha-control-plane-into-an-ha-control-plane/65565377#65565377">very good answer</a> (which is about switching from simple to high availability cluster and it has steps about adding <code>--control-plane-endpoint</code>), there's no easy/straight-forward solution to make it.</p>
<p>Considering risks and difficulty it's easier to create another cluster with a correct setup and migrate all workflows there.</p>
