To remove and clean the cluster, we need to do two steps:
- Delete all ArgoCD apps. To do so, just port-forward to it as we did on the previous step and start deleting each app. It will clear everything.
- Use helmfile to delete all installed charts.
The command to do it:
And this will remove all charts installed by helmfile.
This is a destructive operation. It will destroy everything and data loss will happen unless you have backed up the data stores. Excercise this command with care.