I deleted all the nodes with remove-node, how do I add the localhost node back?
ok maybe im just really dumb or no one ever thought of this scenario. on a test machine I deleted all the nodes with remove-node, even the last controller node, now there are no nodes in my microk8s setup, and im wondering how i can add the machine that i am running microk8s back as a node.
when i use add-node, then try to join, microk8s tells me that its not possible because the machines share the same ip (obviously)
any ideas or is this just something that should never be done and cant be recovered from
I recall theres a --force argument in the remove-node that will remove it also from dqlite.
yea, but how can I add it again to my cluster?
You can remove the snap and reinstall it again
yea thats what I did, but there must be another solution surely?
Had a slightly different issue. My workers weren't working (no pun intended) so I applied a patch to them. However that presents an issue with reverting the patch changes when joining from another node. In conclusion, I get the following impossible to remove node now.
I think I've literally run into every issue in microk8s so far 😞
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.