Skip to main content

Uninstalling PhariaAI

To uninstall PhariaAI, use the following Helm command:

helm uninstall pharia-ai -n <pharia-ai-install-namespace>

PhariaAI persistent volume claims (PVCs) and secrets are retained after uninstallation so that you can use them for a later installation or perform backups. To completely remove all PVCs and secrets in your PhariaAI namespace (including model weights), run the following commands:

kubectl get pvc -n <pharia-ai-install-namespace> -o name | xargs -I{} kubectl delete {} -n <pharia-ai-install-namespace>
kubectl get secret -n <pharia-ai-install-namespace> -o name | xargs -I{} kubectl delete {} -n <pharia-ai-install-namespace>

If you would like to keep the model weights, run the kubectl delete pvc <pvc-name> -n <pharia-ai-install-namespace> command against the relevant PVCs from kubectl get pvc -n <pharia-ai-install-namespace>, excluding the models PVCs.