<p>When I try to <code>kubeadm reset -f</code>, it report the etcd server can not be removed, you must remove it manually.</p>

<pre><code>failed to remove etcd member: error syncing endpoints with etc: etcdclient: no available endpoints. Please manually remove this etcd member using etcdctl
</code></pre>

ccd
<p>Is this a control-plane (master) node?</p>
<p>If not: simply running <code>kubectl delete node &lt;node_id&gt;</code> should suffice (see reference below). This will update etcd and take care of the rest of cleanup. You'll still have to diagnose what caused the node to fail to reset in the first place if you're hoping to re-add it... but that's a separate problem. See discussion e.g., <a href="https://github.com/kubernetes/kubeadm/issues/1300#issuecomment-548569829" rel="nofollow noreferrer">here</a> on a related issue:</p>
<blockquote>
<p>If the node is hard failed and you cannot call kubeadm reset on it, it requires manual steps. you'd have to:</p>
<ol>
<li><p>Remove the control-plane IP from the kubeadm-config CM ClusterStatus</p>
</li>
<li><p>Remove the etcd member using etcdctl</p>
</li>
<li><p>Delete the Node object using kubectl (if you don't want the Node around anymore)</p>
</li>
</ol>
<p>1 and 2 apply only to control-plane nodes.</p>
</blockquote>
<p>Hope this helps — if you <em>are</em> dealing with a master node, I'd be happy to include examples of what commands to run.</p>
