Skip to main content
Version: 3.1

Uninstall Portworx from OpenShift vSphere using Helm

This page provides instructions on how to uninstall Portworx using Helm.

Prerequisites

  • You must have installed Portworx using Helm.

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:

  1. (optional) If you want to uninstall Portworx and wipe data, ensure that the deleteStrategy parameter is set to UninstallAndWipe. If this parameter was not set during the initial installation, you need to add it to the px_install_values.yaml file.

    deleteStrategy:
    type: UninstallAndWipe
  2. Apply the updated delete strategy using the following command:

    helm upgrade <px-release> portworx/portworx -n <portworx> -f px_install_values.yaml
    Release "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.
  3. Verify that the new values have taken effect.

    helm get values <px-release> -n <portworx>
    USER-SUPPLIED VALUES:
    deleteStrategy:
    type: UninstallAndWipe
  4. Uninstall the Portworx using the following command.

    helm uninstall <px-release> -n <portworx>
    release "px-release" uninstalled