'kube-apiserver: force etcd worker key to be re-constructed from api-server

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.

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.

Tried to delete the minion key and reboot the worker but this is not a practical fix, any ideas or workaround ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source