Upgrade
Version v5 cannot be directly upgraded to version v6. Please install version v6 from scratch and then migrate the applications from version v5 to the new environment.
- In version v5, publish the application to the local component library via
Application View -> Application Publish -> Publish to Local Component Library
, and then export the application inPlatform Management -> Application Market
. - In version v6, import the application into version v6 via
Platform Management -> Application Market -> Import Application
. - If a database application is deployed, the database needs to be manually migrated.
Overview
Rainbond supports visualized online upgrade, through which the Rainbond version can be quickly upgraded.All installation methods support online upgrade.
Online upgrade
If there are multiple clusters, all will be upgraded.
In Platform Management -> Enterprise Settings -> Version Upgrade, you can view the current Rainbond version and the latest version. Click the Go to Update button to start the upgrade.
During the upgrade process, Rainbond will perform the following operations:
- Rolling upgrade of Rainbond component images
- If there are SQL changes, they will be automatically executed
Offline upgrade
Only applicable to offline installation environments.
- Prepare the new version image of Rainbond in advance in a networked environment, replace
<version>
with the version number to be upgraded.<version>
can be viewed in Rainbond Release.
registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:<version>
registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-api:<version>
registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-chaos:<version>
registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-mq:<version>
registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-worker:<version>
- Edit the
rbdcomponent
CRD resource, replace the image address in thespec.image
field with the offline image address.
$ kubectl edit rbdcomponent -n rbd-system rbd-app-ui
spec:
image: registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:<version>
- Components such as
rbd-api
,rbd-chaos
,rbd-mq
,rbd-worker
should also replace the image address, repeat the above steps. - Log in to Rainbond to check whether the version number on the homepage has been updated to the new version.
Version change log
You can view the specific changes of each version in Historical Version Change Log.