Always make backups before upgrading the Longhorn engine images.
Upgrade the Longhorn manager before upgrading the Longhorn engine.
- Select all the volumes using batch selection. Click the batch operation button Upgrade Engine, and choose the engine image available in the list. It’s the default engine shipped with the manager for this release.
- Resume all workloads. Any volume not part of a Kubernetes workload must be attached from the Longhorn UI.
Live upgrade is supported for upgrading from v1.0.x to v1.1.0.
The frontend does not support live upgrades.
- Select the volume you want to upgrade.
- Select the engine image you want to upgrade to.
- Normally it’s the only engine image in the list, since the UI exclude the current image from the list.
- Click OK.
During the live upgrade, the user will see double number of the replicas temporarily. After upgrade complete, the user should see the same number of the replicas as before, and the field of the volume should be updated.
Notice after the live upgrade, Rancher or Kubernetes would still show the old version of image for the engine, and new version for the replicas. It’s expected. The upgrade is success if you see the new version of image listed as the volume image in the Volume Detail page.