Skip to main content

5.6.0 upgrade to 5.7.0 documentation

version change

Version 5.7.0 Changes

Console upgrade

  1. Execute sql upgrade script
  • enter Rainbond-console component
kubectl exec -it $(kubectl get po -n rbd-system | grep rbd-app-ui | grep Running | sed -n '1p ' | awk '{print $1}') -n rbd-system bash
  • After entering the Rainbond-console component, execute the following command
curl https://rainbond-script.oss-cn-hangzhou .aliyuncs.com/upgrade-5.7.0.sh | bash

Data Center Upgrade

warning

If an external database is specified or other parameters are used when helm deploys Rainbond.Then, when executing the following upgrade command, you also need to set the previous parameters through --set.Otherwise the previous configuration will be overwritten.

Another way is to use the grctl command to upgrade.Upgrading with the grctl command avoids this problem.grctl command version is at least v5.8.0-release

  • data center side upgrade

  • update mirror source

helm upgrade --set Component.rbd_app_ui.image=registry.cn-hangzhou.aliyuncs. com/goodrain/rainbond:v5.7.0-release-allinone --set operator.image.tag=v5.7.0-release --set Cluster.installVersion=v5.7.0-release rainbond rainbond/rainbond-cluster -n rbd-system
  • Confirm pod update status

  • Confirm rolling update of all pods, about 3 minutes depending on the network

kubectl get po -n rbd-system