Skip to main content

5.4.0 upgrade to 5.5.0 documentation

version change

Version 5.5.0 Changes

Console upgrade

  1. Execute the sql upgrade script

    • If the console is allinone started, do the following

      docker exec -it rainbond-allinone bash
      curl https://rainbond-script.oss-cn-hangzhou.aliyuncs.com/upgrade-5.5.0.sh | bash
    • If the console is installed through the application market, after entering the Rainbond-console component, execute the following command

      curl https://rainbond-script.oss-cn-hangzhou.aliyuncs.com/upgrade-5.5.0.sh | bash
  2. upgrade console

    • If the console is allinone started, do the following

      docker stop rainbond-allinone && docker rm rainbond-allinone
      #This command parameter needs to be the same as the rainbond-allinone container started before
      docker run -d -p 7070:7070 -v ~/.ssh:/root/.ssh - v ~/rainbonddata:/app/data \
      --name=rainbond-allinone --restart=always \
      registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.5.0-release-allinone
    • If the console is installed through the app market, enter the console application and choose to upgrade to version 5.5.0

Data Center Upgrade

  1. Data center side upgrade

    1. Update grctl command

      docker run -it --rm -v /:/rootfs registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-grctl:v5.5.0-release copy
      mv /usr/local/bin/rainbond-grctl /usr/ local/bin/grctl && grctl install

      Note:If you are unable to install grctl, you canrefer to the grctl installation documentation

    2. Execute the upgrade command

      grctl cluster upgrade --new-version=v5.5.0-release
  2. Plugin upgrade

    1. Get the image and push to the private repository

      docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-mesh-data-panel:v5.5.0-release
      docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-mesh-data-panel: v5.5.0-release goodrain.me/rbd-mesh-data-panel:latest
      docker push goodrain.me/rbd-mesh-data-panel:latest

      docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/rbd -init-probe:v5.5.0-release
      docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-init-probe:v5.5.0-release goodrain.me/rbd-init-probe:latest
      docker push goodrain.me/rbd-init-probe:latest

      Note:Before pushing the image, you need to log in to the warehouse in advance to avoid the failure of the image push

    2. Building a Network Governance Plugin

      image-20210630165437016

      image-20210630165513443