Upgrading Longhorn Engine
In this section, you’ll learn how to upgrade the Longhorn Engine from the Longhorn UI.
Always make backups before upgrading the Longhorn engine images.
Upgrade the Longhorn manager before upgrading the Longhorn engine.
Follow these steps if the live upgrade is not available (e.g. before v0.3.3, from v0.5.0 to v0.6.0, v0.7.0 to v0.8.0), or if the volume is stuck in degraded state:
Live upgrade is available since v0.3.3, with the exception of upgrade from v0.5.0 to v0.6.0, v0.7.0 to v0.8.0, and v0.8.1 to v1.0.0.
The iSCSI
frontend does not support live upgrades.
Live upgrade should only be done with healthy volumes.
Upgrade Engine
in the drop down.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 Engine Image
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.
After you’ve done upgrade for all the images, select Settings/Engine Image
from Longhorn UI. Now you should able to remove the non-default image.
© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.