Uninstall NXLog Platform
If you no longer need your NXLog Platform instance, you can uninstall it to free up hardware resources. The steps to uninstall NXLog Platform depend on whether you installed using CLI or using Helm.
Using CLI
If you need to use your current instance in the future, consider creating a backup that can be restored later. The removal process does not delete the backup directory, and all existing backups will be preserved. See Back up and restore NXLog Platform for more information.
The uninstall procedure stops and removes the NXLog Platform containers and deletes the NXLog Platform data.
| Uninstalling will delete all data in your NXLog Platform instance. |
The procedure leaves the NXLog Platform installation files and the /etc/nxp.conf file intact, so you can reinstall NXLog Platform using the same settings, without the need to edit the file.
Run the following commands to uninstall NXLog Platform:
-
Log in to the NXLog Platform server, for example, via ssh:
$ ssh <your_user>@<your_ip_address> -
Uninstall NXLog Platform:
$ sudo nxp_manage.sh pruneThis command requires you to confirm your decision several times. Type
yeseach time the uninstall procedure asks you.
Using Helm
Run the following command to uninstall the NXLog Platform Helm chart:
$ helm uninstall nxp --namespace nxp
Uninstalling the Helm chart does not delete the PersistentVolumeClaims (PVCs). To delete the PVCs, run the following command:
$ kubectl delete pvc --namespace nxp --all
If you also want to prune your installation to reclaim the underlying storage, delete your PersistentVolumes (PVs):
$ kubectl delete pv <pv_name>
| Deleting volumes is destructive and irreversible. All data stored on those volumes will be permanently lost. Only run the commands if you are sure you no longer need the data. |