5.7.1 upgrade to 5.8.0 documentation
version change
Console upgrade
- helm
- Basic Edition
- 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.8.0.sh | bash
- Execute the sql upgrade script
- If the console is allinone started, execute the following operations
docker exec -it rainbond-allinone bash
curl https://rainbond-script.oss-cn-hangzhou.aliyuncs. com/upgrade-5.8.0.sh | bash
- If the console is installed through the app market, after entering the Rainbond-console component, execute the following command
curl https://rainbond-script .oss-cn-hangzhou.aliyuncs.com/upgrade-5.8.0.sh | bash
- Upgrade console
- If the console is allinone startup, execute the following operations
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.8.0-release-allinone
as control To install through the application market, enter the console application and choose to upgrade to version 5.8.0
Data Center Upgrade
1. Update grctl command
docker run -it --rm -v /:/rootfs registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-grctl:v5.8.0-release copy
mv /usr/local/bin/rainbond-grctl /usr/ local/bin/grctl && grctl install
Note:If you are unable to install grctl, please refer to grctl installation documentation
2. Execute the upgrade command
grctl cluster upgrade --new-version=v5.8.0-release
For Rainbond not installed by helm, the following errors are normal and can be ignored
error: update rainbond components: get rbdcomponent rbd-app-ui: rbdcomponents.rainbond.io "rbd-app-ui" not found