This message was deleted.
# elemental
a
This message was deleted.
s
We are already thinking about how this should actually behave and polishing details that might be missing. What is kept after a cluster deletion is the MachineRegistration. You should be capable to register again the machine to Rancher Manager by running
elemental-register
command and it is expected to create the inventory again. In order to clean up a node one option would be reboot to recovery system and call
elemental --debug reset --reboot
and it will reinstall the image that was once installed. It will keep the /oem partition contents so it will automatically attempt to register again at boot.
elemental reset
also has the
--reset-persistent
to format the persistent partition in case you also want to cleanup these part for a new clean fresh start. Currently there is no automation or trigger based on Cluster deletion, we are aware about it, this is something that already raised within the engineering team.
s
Okay great, I will try those methods. Though it would be handy to have a button, or option to toggle during cluster removal, running a couple commands, or rebooting to recovery sounds good. Thanks for the tips, it will certainly work well enough for now while testing different scenarios. 🙂