Skip to main content

Uninstall

Uninstallation without loosing data

When you intend to stop all ThingPark Enterprise for a later re-deployment.

  1. Stop safely the mariadb statefulset using scale

    kubectl scale statefulset mariadb-galera --replicas=0
  2. Uninstall charts

    helm uninstall tpe tpe-controllers tpe-data tpe-data-controllers

Full uninstallation

  1. Start by uninstall charts

    helm uninstall tpe tpe-controllers tpe-data tpe-data-controllers
  2. Delete the namespace

    kubectl delete ns $NAMESPACE
  3. Cleanup persistent volumes (for local persistance only).

    Connect to each worker to cleanup folders within /mnt/data/

    sudo rm -rf /mnt/data/*