How to Uninstall OpenPAI
- Installation Guide
- Installation FAQs and Troubleshooting
- Basic Management Operations
- How to Manage Users and Groups
- How to Set Up Storage
- How to Set Up Virtual Clusters
- How to Add and Remove Nodes
- How to use CPU Nodes
- How to Customize Cluster by Plugins
- Troubleshooting
- How to Uninstall OpenPAI (this document)
- 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.