Uninstall Portworx using Helm
This page provides instructions on how to uninstall Portworx using Helm.
Prerequisites
- You must have installed Portworx using Helm.
- This guide is applicable to below platforms:
- FlashArray
- OpenShift vSphere
 
Uninstall Portworx
By default, Portworx is installed in the kube-system namespace. If you have installed it in a different namespace, use the -n <namespace> flag. In this example, we will uninstall Portworx that was installed in the portworx namespace.
To uninstall Portworx with the release name px-release follow the steps below:
- 
(optional) If you want to uninstall Portworx and wipe data, ensure that the deleteStrategyparameter is set toUninstallAndWipe. If this parameter was not set during the initial installation, you need to add it to thepx_install_values.yamlfile.deleteStrategy:
 type: UninstallAndWipe
- 
Apply the updated delete strategy using the following command: helm upgrade <px-release> portworx/portworx -n <portworx> -f px_install_values.yamlRelease "px-release" has been upgraded. Happy Helming!
 NAME: px-release
 LAST DEPLOYED: Thu Sep 26 06:15:16 2024
 NAMESPACE: portworx
 STATUS: deployed
 REVISION: 2
 TEST SUITE: None
 NOTES:
 Your Release is named "px-release"
 Portworx Pods should be running on each node in your cluster.
 Portworx would create a unified pool of the disks attached to your Kubernetes nodes.
 No further action should be required and you are ready to consume Portworx Volumes as part of your application data requirements.
- 
Verify that the new values have taken effect. helm get values <px-release> -n <portworx>USER-SUPPLIED VALUES:
 deleteStrategy:
 type: UninstallAndWipe
- 
Uninstall the Portworx using the following command. helm uninstall <px-release> -n <portworx>release "px-release" uninstalled