Upgrade Portworx on FlashArray using Helm
This page provides instructions on how to upgrade Portworx using Helm.
Upgrading from previous Portworx Helm chart version to 4.0.0 is not supported.
Prerequisites
- You must have installed Portworx using Helm.
- Review the release notes for the version you plan to upgrade to. This ensures you are aware of any breaking changes, new features, and deprecated configurations.
- Review the Helm compatibility matrix and the configurable parameters.
Upgrade 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 upgrade Portworx that was installed in the portworx namespace.
-
Download the latest Portworx Helm chart version from the
portworx/helmrepository to your local repository:helm repo updateHang tight while we grab the latest from your chart repositories......Successfully got an update from the "portworx" chart repositoryUpdate Complete. ⎈Happy Helming!⎈ -
If you have installed Portworx with custom configuration and need to change any configuration parameters, update your
px_install_values.yamlfile. This file contains your current configuration.noteEnsure that you review the configuration values for the new version to align with any changes in the latest release.
-
Upgrade Portworx 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-releaseLAST DEPLOYED: Thu Sep 26 06:51:46 2024NAMESPACE: portworxSTATUS: deployedREVISION: 3TEST SUITE: NoneNOTES: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 the Helm release values to ensure they reflect the updated configuration:
helm get values <px-release> -n <portworx>You should see all the custom configurations passed using the
px_install_values.yamlfile.