Skip to main content
Version: v5.6

5.5.0升级至5.6.0文档

版本变更

5.6.0 版本变更

控制台升级

  1. 执行 sql 升级脚本
  • 进入 Rainbond-控制台组件
kubectl exec -it $(kubectl get po -n rbd-system | grep rbd-app-ui | grep Running | sed -n '1p' |awk '{print $1}' ) bash
  • 进入 Rainbond-控制台组件后,执行以下命令
curl https://rainbond-script.oss-cn-hangzhou.aliyuncs.com/upgrade-5.6.0.sh | bash

数据中心升级

  • 数据中心端升级

  • 更新镜像源

helm upgrade --set Component.rbd_app_ui.image=registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.6.0-release-allinone --set operator.image.tag=v2.3.0 --set Cluster.installVersion=v5.6.0-release rainbond rainbond/rainbond-cluster
  • 确认 pod 更新状态

  • 确认所有 pod 滚动更新一遍,根据网络不同大概3分钟左右

kubectl get po -n rbd-system 
  • 插件升级

  • 获取镜像并推送到私有仓库

docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-mesh-data-panel:v5.6.0-release
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-mesh-data-panel:v5.6.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.6.0-release
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-init-probe:v5.6.0-release goodrain.me/rbd-init-probe:latest
docker push goodrain.me/rbd-init-probe:latest
  • 注意:推送镜像之前,需要提前登录下仓库,避免出现镜像推送失败的情况

  • 构建网络治理插件

image-20210630165437016

image-20210630165513443