Upgrade DirectPV installation
Upgrade DirectPV CSI driver
Upgrade DirectPV CSI driver v4.x.x
Offline upgrade
Follow the below steps for an offline upgrade
- Uninstall DirectPV CSI driver.
$ kubectl directpv uninstall
- Upgrade DirectPV plugin by this documentation.
- Install the latest DirectPV CSI driver by this documentation.
In-place upgrade
Follow the below steps for an in-place upgrade
- Upgrade DirectPV plugin by this documentation.
- Run install script with appropriate node-selector, tolerations, and
KUBELET_DIR_PATH
environment variable. Below is an example:
$ curl -sfL https://github.com/minio/directpv/raw/master/docs/tools/install.sh | sh -s - apply
Upgrade legacy DirectCSI CSI driver
Follow the below steps to upgrade to the latest DirectPV CSI driver from a legacy DirectCSI installation.
- Uninstall DirectCSI driver if you run v3.1.0 or newer version. For other versions, skip this step.
$ kubectl directcsi uninstall
- Install the latest DirectPV plugin by this documentation or upgrade existing DirectPV plugin by this documentation.
- Install the latest DirectPV CSI driver by this documentation.
- Uninstall DirectCSI driver if you run older than v3.1.0 version. For other versions, skip this step.
$ kubectl directcsi uninstall
Upgrade DirectPV plugin
Upgrade using Krew
To upgrade the plugin, run below command
$ kubectl krew upgrade directpv
Upgrade of release binary
Refer to the binary installation documentation.