Upgrade the license server component
If you’ve installed the license server component using Helm, you can use Helm to upgrade it as well.
Prerequisites
The license server component must already be installed.
Upgrade
Follow the steps in this section to upgrade the license server component using Helm.
Update your Helm repos:
helm repo update
Retrieve all custom values you used during install. Enter the following
helm get values
command to generate a YAML file, adjusting the value of the<namespace>
parameter to match your environment:helm get values --namespace <namespace> px-license-server -o yaml > values.yaml
Delete the post-install hook job. Enter the following
kubectl delete job
command, adjusting the value of the<namespace>
parameter to match your environment:kubectl delete job pxcentral-license-ha-setup -n <namespace>
Remove the
pxcentral-license-server
deployment. Enter the followingkubectl delete deployment
command, adjusting the value of the<namespace>
parameter to match your environment:kubectl delete deployment pxcentral-license-server -n <namespace>
Upgrade the license server component. Run the following
helm upgrade
command, using the-f
flag to pass the customvalues.yaml
file you generated above and adjusting the value of the<namespace>
parameter to match your environment:helm upgrade px-license-server portworx/px-license-server --namespace <namespace> -f values.yaml