How to Uninstall OpenPAI

  1. Installation Guide
  2. Installation FAQs and Troubleshooting
  3. Basic Management Operations
  4. How to Manage Users and Groups
  5. How to Set Up Storage
  6. How to Set Up Virtual Clusters
  7. How to Add and Remove Nodes
  8. How to use CPU Nodes
  9. How to Customize Cluster by Plugins
  10. Troubleshooting
  11. How to Uninstall OpenPAI (this document)
  12. Upgrade Guide

The uninstallation of OpenPAI is irreversible: all the data will be removed and you cannot find them back. If you need a backup, do it before uninstallation.

First, log in to the dev box machine and delete all PAI services:

./paictl.py service delete

Now all PAI services and data are deleted. If you want to destroy the Kubernetes cluster too, please go into ~/pai-deploy/kubespray folder, run:

ansible-playbook -i inventory/pai/hosts.yml reset.yml --become --become-user=root -e "@inventory/pai/openpai.yml"

We recommend you to keep the folder ~/pai-deploy for re-installation.