<p>Problem: I am creating for testing new node conditions and status, when i am removing them from my code or controller they remain in etcd /kubernetes.io/minions/. whenever i rune describe.</p>
<p>I can't update it as it's encrypted, I want a way to remove unwanted status, node condition from the etcd or force all status to be deleted and re-constructed from apiserver.</p>
<p>Tried to delete the minion key and reboot the worker but this is not a practical fix, any ideas or workaround ?</p>

Sam
<p>I have found that one way to do so is to delete the node key from etcd and restart kubelet in the node. This re-construct the key back again.</p>
<p>Workaround:
etcdctl get /kubernetes.io/minions/</p>
<p>Keep in mind that api sends to it binary proto, so i used &quot;grep -a&quot; or ad to etcdctl get -w json to decode any binary.</p>
<p><strong>Fix:</strong>
etcdctl del /kubernetes.io/minions/
Restart kubelet in the worker node
minion key in etcd will be re-constructed</p>
<p><strong>Fix2:</strong>
Delete all condition by curl the kube api</p>
<pre><code>curl -k -H &quot;Authorization: Bearer $TOKEN -H &quot;Content-Type: application/json-patch+json&quot; -X PATCH https://APISERVER:6443/api/v1/nodes/f&lt;Node-Name&gt;/status --data '[{ &quot;op&quot;: &quot;remove&quot;, &quot;path&quot;: &quot;/status/conditions&quot;}]'
</code></pre>
