Uninstall
Uninstallation without loosing data
When you intend to stop all ThingPark Enterprise for a later re-deployment.
Stop safely the mariadb statefulset using scale
kubectl scale statefulset mariadb-galera --replicas=0
Uninstall charts
helm uninstall tpe tpe-controllers tpe-data tpe-data-controllers
Full uninstallation
Start by uninstall charts
helm uninstall tpe tpe-controllers tpe-data tpe-data-controllers
Delete the namespace
kubectl delete ns $NAMESPACE
Cleanup persistent volumes (for local persistance only).
Connect to each worker to cleanup folders within
/mnt/data/
sudo rm -rf /mnt/data/*