We only support upgrading to v1.0.2 from v1.0.0 or v1.0.1. For other versions, please upgrade to v1.0.0 first.
A live upgrade of the Longhorn Engine is supported from v1.0.0/v1.0.1 to v1.0.2.
For airgap upgrades when Longhorn is installed as a Rancher app, you will need to modify the image names and remove the registry URL part.
For example, the image registry.example.com/longhorn/longhorn-manager:v1.0.1 is changed to longhorn/longhorn-manager:v1.0.2 in Longhorn images section. For more information, see the air gap installation steps for v1.0.2 here.
Preparing for the Upgrade
If Longhorn was installed using a Helm Chart, or if it was installed as a Rancher catalog app, check to make sure the parameters in the default StorageClass weren’t changed. Changing the default StorageClass’s parameter might result in a chart upgrade failure. if you want to reconfigure the parameters in the StorageClass, you can copy the default StorageClass’s configuration to create another StorageClass.
The current default StorageClass has the following parameters:
numberOfReplicas: <user specified replica count, 3 by default>
Prerequisite: Always back up volumes before upgrading. If anything goes wrong, you can restore the volume using the backup.