Skip to main content

Uninstall

If at some point you decide that MintPress is not for you and you no longer wish to continue using the services it provides, follow these steps to permanently remove MintPress from your machine.

danger

Before uninstalling MintPress we suggest making a backup in case you would like to restore any MintPress data in the future.

Remove the MintPress containers and data

Terminate and remove the running MintPress containers (and associated data) by executing the following commands:

helm uninstall mintpress -n ${KUBERNETES_NAMESPACE}

This command might take a few minutes to complete as all the MintPress containers will be terminated and their associated data will be removed.

MintPress will be uninstalled, but some persistent data will remain in your Kubernetes cluster in case you would like to reinstall MintPress in the future. This is described in more detail in the persistent data guide.

warning

The following step will delete the secret vault data, database credentials and other sensitive information.

To fully clear the MintPress installation from your Kubernetes cluster, you can also delete the MintPress namespace:

kubectl delete namespace ${KUBERNETES_NAMESPACE}

Remove the CNPG namespace

If you are not using the CNPG operator for any other purposes, you can also delete the CNPG namespace:

kubectl delete namespace cnpg-system

Remove LimePoint container images

Remove the LimePoint container images on your local machine to clear up disk space.

crictl images --filter reference='limepoint/*' -q | xargs crictl rmi

Logout from the Helm registry

You can logout of the Helm registry by running the following command:

helm registry logout docker.io

Uninstall the native CLI

If you have installed the native CLI when installing MintPress, you can uninstall it by deleting the binary file and removing the configuration file used by it:

rm -f /usr/local/bin/manage-mintpress
rm -f $HOME/.mintpress/config.yaml

Delete the MintPress configuration files

Remove the configuration files that you created when configuring MintPress. For example:

rm -f /limepoint/values.yaml