Updating Portworx in your cluster

If you use Portworx in a classic cluster, see Updating Classic worker nodes. The following steps focus on VPC worker node updates.

VPC: Updating worker nodes with Portworx volumes

Virtual Private Cloud

When you update a worker node in a VPC cluster, the worker node is removed from your cluster and replaced with a new worker node. If Portworx volumes are attached to the worker node that you replaced, you must attach the volumes to the new worker node.

Update only one worker node at a time. After the worker node update is complete, reattach your Block Storage for VPC volume and restart the Portworx pod.

  1. Enter maintenance mode on the worker nodes that you want to update.

  2. Update your VPC worker nodes.

  3. Attach raw Block Storage for VPC to your worker nodes.

  4. Verify that your storage is attached by running the following command.

    oc get pv -o yaml | grep "attachstatus"
    
  5. Restart the Portworx pod on the new worker node.

    oc delete pod <portworx_pod> -n <portworx_namespace>
    
  6. Exit maintenance mode.

    pxctl service maintenance --exit
    
  7. Mount the volume to your app.