<p>How do you change ip address of the master or any worker node</p>
<p>I have experimented with:</p>
<pre><code>kubeadm init --control-plane-endpoint=cluster-endpoint --apiserver-advertise-address=&lt;x.x.x.x&gt;
</code></pre>
<p>And then I guess I need the new config with the right certificate:</p>
<pre><code>sudo cp -i /etc/kubernetes/admin.conf ~/.kube/config
</code></pre>
<p>I tried the following suggested from Hajed.Kh:</p>
<p>Changed ip address in:</p>
<pre><code>etcd.yaml (contained ip)
kube-apiserver.yaml (contained ip)
kube-controller-manager.yaml (not this one?
kube-scheduler.yaml (not this one?)
</code></pre>
<p>But I still get the same ip address in:</p>
<pre><code>sudo cp -i /etc/kubernetes/admin.conf ~/.kube/config
</code></pre>

Chris G.
<p>The <code> apiserver-advertise-address</code> flag is located in the api-server manifest file and all Kubernetes components manifests are located here <code>/etc/kubernetes/manifest/</code>.Those are realtime updated files so change and save and it will be redeployed instantally :</p>
<pre><code>etcd.yaml
kube-apiserver.yaml
kube-controller-manager.yaml
kube-scheduler.yaml 
</code></pre>
<p>For the worker I think it will automatically update changes while the kubelet is connected to the api-server.</p>
