Skip to content

Commit

Permalink
feat: new version v5.17.3 (#866)
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail authored Jul 31, 2024
1 parent 9762f8e commit a99c762
Show file tree
Hide file tree
Showing 14 changed files with 78 additions and 56 deletions.
21 changes: 21 additions & 0 deletions community/change/5.17.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: v5.17.3-release
description: 描述v5.17.3-release版本变更信息
---

这个版本主要修改了一些bug

## 详细变更点:

### BUG修复

- 添加新节点不生效。
- HELM 创建组件部分中的 k8s 资源创建失败。 [#1958](https://github.com/goodrain/rainbond/issues/1958)
- 多架构集群导出helm图表包失败。 [#1955](https://github.com/goodrain/rainbond/issues/1955)
- 修复团队列表视图显示不正确的问题
- 从团队列表视图中删除多余的显示
- 为部分表添加索引,优化查询速度


# 感谢
感谢用户 [MISAKIGA](https://github.com/MISAKIGA)[jeanphorn](https://github.com/jeanphorn) 等用户在社区中的参与与反馈,才能使产品变得更好,我们欢迎大家任何形式的参与和贡献。
8 changes: 4 additions & 4 deletions docs/installation/install-with-helm/vaules-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ operator:
## variable_name: variable
image:
name: registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond-operator
tag: v5.17.2-release
tag: v5.17.3-release
pullPolicy: IfNotPresent
logLevel: 4

Expand Down Expand Up @@ -154,7 +154,7 @@ Cluster:
rainbondImageRepository: registry.cn-hangzhou.aliyuncs.com/goodrain

# Component image version, ref: https://www.rainbond.com/docs/installation/install-with-helm/vaules-config/#%E9%85%8D%E7%BD%AE%E5%AE%89%E8%A3%85%E7%89%88%E6%9C%AC
installVersion: v5.17.2-release
installVersion: v5.17.3-release

# Component image pull policy, ref: https://www.rainbond.com/docs/installation/install-with-helm/vaules-config/#%E9%85%8D%E7%BD%AE%E9%9B%86%E7%BE%A4%E7%AB%AF%E9%95%9C%E5%83%8F%E6%8B%89%E5%8F%96%E7%AD%96%E7%95%A5
imagePullPolicy: IfNotPresent
Expand Down Expand Up @@ -273,7 +273,7 @@ helm install rainbond rainbond/rainbond-cluster -f values.yaml -n rbd-system
| ------------------------- |--------------------------------------------------------------| ------------------------------- |
| operator.name | rainbond-operator | operator 的 deployment 资源名称 |
| operator.image.name | registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond-operator | operator 镜像名称 |
| operator.image.tag | v5.17.2-release | operator 镜像tag |
| operator.image.tag | v5.17.3-release | operator 镜像tag |
| operator.image.pullPolicy | IfNotPresent | operator 镜像拉取策略 |
| operator.logLevel | 4 | operator 的日志输出级别 |
| operator.env[0].name | CONTAINER_RUNTIME | 选择集群容器运行时 |
Expand All @@ -285,7 +285,7 @@ operator:
name: rainbond-operator
image:
name: registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond-operator
tag: v5.17.2-release
tag: v5.17.3-release
pullPolicy: IfNotPresent
logLevel: 4
env:
Expand Down
8 changes: 4 additions & 4 deletions docs/installation/install-with-ui/console-recover.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ keywords:
| env/e | 环境变量 | |
| arg/a | 参数 | |
| replicas/r | 实例数 | 1 |
| image/i | 控制台镜像 | registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.2-release-allinone |
| image/i | 控制台镜像 | registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.3-release-allinone |

### 使用 grctl 迁移命令

```bash
grctl migrate -i registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.2-release-allinone -p 7071 -r 1
grctl migrate -i registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.3-release-allinone -p 7071 -r 1

```
:::info
Expand All @@ -58,7 +58,7 @@ grctl migrate -i registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.2-rel

```bash
grctl migrate -p 7071 -r 1 \
-i registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.2-release-allinone \
-i registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.3-release-allinone \
-e MYSQL_HOST=127.0.0.1 \
-e MYSQL_PORT=3306 \
-e MYSQL_USER=root \
Expand All @@ -73,7 +73,7 @@ grctl migrate -p 7071 -r 1 \
| -e,env | 环境变量 | |
| -a,arg | 参数 | |
| -r,replicas | 实例数 | 1 |
| -i,image | 控制台镜像 | registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.2-release-allinone |
| -i,image | 控制台镜像 | registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.3-release-allinone |


## 备份恢复控制台数据
Expand Down
2 changes: 1 addition & 1 deletion docs/installation/install-with-ui/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ docker run -d -p 7070:7070 \
--name=rainbond-allinone --restart=always \
-v ~/.ssh:/root/.ssh \
-v ~/rainbonddata:/app/data \
registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.2-release-allinone
registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.3-release-allinone
```

> 控制台将产生需要持久化的数据,存储于节点的 `~/rainbonddata` 目录中。
Expand Down
12 changes: 6 additions & 6 deletions docs/installation/offline/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ keywords:

IMAGE_DOMAIN=${IMAGE_DOMAIN:-registry.cn-hangzhou.aliyuncs.com}
IMAGE_NAMESPACE=${IMAGE_NAMESPACE:-goodrain}
VERSION=${VERSION:-'v5.17.2-release'}
VERSION=${VERSION:-'v5.17.3-release'}

image_list="${IMAGE_DOMAIN}/${IMAGE_NAMESPACE}/kubernetes-dashboard:v2.6.1
${IMAGE_DOMAIN}/${IMAGE_NAMESPACE}/registry:2.6.2
Expand Down Expand Up @@ -66,7 +66,7 @@ helm pull rainbond/rainbond-cluster

### 导入镜像包
```bash
docker load -i rainbond-v5.17.2-release.tar
docker load -i rainbond-v5.17.3-release.tar
```

### 安装 Rainbond
Expand Down Expand Up @@ -144,7 +144,7 @@ kubectl get rainbondcluster rainbondcluster -n rbd-system -o go-template --templ

```bash title="vim download_rbd_images_sourcebuild.sh"
#!/bin/bash
VERSION=${VERSION:-'v5.17.2-release'}
VERSION=${VERSION:-'v5.17.3-release'}

image_list="registry.cn-hangzhou.aliyuncs.com/goodrain/buildkit:v0.12.0
registry.cn-hangzhou.aliyuncs.com/goodrain/builder:${VERSION}
Expand All @@ -168,7 +168,7 @@ wget https://pkg.rainbond.com/offline/5.3-enterprise/rbd-resource-proxy-offline-
将镜像包导入到目标服务器

```bash
docker load -i rainbond-sourcebuild-v5.17.2-release.tar
docker load -i rainbond-sourcebuild-v5.17.3-release.tar
docker load -i rbd-resource-proxy-offline-amd64.tar
```

Expand All @@ -185,8 +185,8 @@ docker login -u admin goodrain.me -p <password>

# 重新打 tag 并推送镜像

docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release goodrain.me/builder:latest-amd64
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release goodrain.me/runner:latest-amd64
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release goodrain.me/builder:latest-amd64
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release goodrain.me/runner:latest-amd64
docker push goodrain.me/builder:latest-amd64
docker push goodrain.me/runner:latest-amd64
docker push goodrain.me/rbd-resource-proxy:offline-amd64
Expand Down
2 changes: 1 addition & 1 deletion docs/ops-guide/tools/grctl.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ hidden: false
安装方式:

```bash
docker run -it --rm -v /:/rootfs registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-grctl:v5.17.2-release copy
docker run -it --rm -v /:/rootfs registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-grctl:v5.17.3-release copy
```

```bash
Expand Down
16 changes: 8 additions & 8 deletions docs/troubleshooting/use/build.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ spec:
1. 拉取镜像和更换 tag

```bash
nerdctl -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release
nerdctl -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release
nerdctl -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release
nerdctl -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release

nerdctl -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release goodrain.me/builder:latest
nerdctl -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release goodrain.me/runner:latest
nerdctl -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release goodrain.me/builder:latest
nerdctl -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release goodrain.me/runner:latest
```

2. 获取私有仓库账号密码并登录
Expand All @@ -121,11 +121,11 @@ nerdctl -n k8s.io image push goodrain.me/runner:latest --insecure-registry
1. 拉取镜像和更换 tag

```bash
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release

docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release goodrain.me/builder:latest
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release goodrain.me/runner:latest
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release goodrain.me/builder:latest
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release goodrain.me/runner:latest
```

2. 获取私有仓库账号密码并登录
Expand Down
14 changes: 7 additions & 7 deletions docs/upgrade/latest-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ docker stop rainbond-allinone && docker rm rainbond-allinone
#该命令参数需要和之前启动的rainbond-allinone容器一致
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.17.2-release-allinone
registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.3-release-allinone
```

### 集群端升级
Expand All @@ -95,9 +95,9 @@ registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.17.2-release-allinone

```bash
# 替换基础 region 镜像版本
grctl cluster upgrade --new-version=v5.17.2-release
grctl cluster upgrade --new-version=v5.17.3-release

# 手动替换 operator 镜像版本为 v5.17.2-release
# 手动替换 operator 镜像版本为 v5.17.3-release
kubectl edit deploy rainbond-operator -n rbd-system
```

Expand All @@ -106,11 +106,11 @@ kubectl edit deploy rainbond-operator -n rbd-system
获取最新镜像,并修改 Tag

```bash
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release

docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release goodrain.me/builder:latest-{架构:arm64/amd64}
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release goodrain.me/runner:latest-{架构:arm64/amd64}
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release goodrain.me/builder:latest-{架构:arm64/amd64}
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release goodrain.me/runner:latest-{架构:arm64/amd64}
```

推送镜像到私有仓库,参阅[推送镜像到私有仓库](/docs/ops-guide/component/rbd-hub#向集群私有镜像仓库推送镜像)
Expand Down
3 changes: 2 additions & 1 deletion docs/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ keywords:

| 版本号 | 文档链接 | 版本变更 |
|-----------------| -------------------------------------- |------------------------------------|
| v5.17.2-release | [https://www.rainbond.com/docs/](https://www.rainbond.com/docs/) | [版本变更日志](/community/change/5.17.2) |
| v5.17.3-release | [https://www.rainbond.com/docs/](https://www.rainbond.com/docs/) | [版本变更日志](/community/change/5.17.3) |

## 过往版本(不再维护)

在这里你可以找到过往版本的 Rainbond 文档。

| 版本号 | 文档链接 | 版本变更 |
|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|
| v5.17.2-release | [https://www.rainbond.com/docs/](https://www.rainbond.com/docs/) | [版本变更日志](/community/change/5.17.1)
| v5.17.1-release | [https://www.rainbond.com/docs/](https://www.rainbond.com/docs/) | [版本变更日志](/community/change/5.17.1)
| v5.17.0-release | [https://www.rainbond.com/docs/](https://www.rainbond.com/docs/) | [版本变更日志](/community/change/5.17.0) |
| v5.16.0-release | [https://v5.16-docs.rainbond.com/docs/](https://v5.16-docs.rainbond.com/docs/) | [版本变更日志](/community/change/5.16.0) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords:
| ------------------------- |--------------------------------------------------------------| ------------------------------- |
| operator.name | rainbond-operator | operator 的 deployment 资源名称 |
| operator.image.name | registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond-operator | operator 镜像名称 |
| operator.image.tag | v5.17.2-release | operator 镜像tag |
| operator.image.tag | v5.17.3-release | operator 镜像tag |
| operator.image.pullPolicy | IfNotPresent | operator 镜像拉取策略 |
| operator.logLevel | 4 | operator 的日志输出级别 |
| operator.env[0].name | CONTAINER_RUNTIME | 选择集群容器运行时 |
Expand All @@ -26,7 +26,7 @@ operator:
name: rainbond-operator
image:
name: registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond-operator
tag: v5.17.2-release
tag: v5.17.3-release
pullPolicy: IfNotPresent
logLevel: 4
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ keywords:

IMAGE_DOMAIN=${IMAGE_DOMAIN:-registry.cn-hangzhou.aliyuncs.com}
IMAGE_NAMESPACE=${IMAGE_NAMESPACE:-goodrain}
VERSION=${VERSION:-'v5.17.2-release'}
VERSION=${VERSION:-'v5.17.3-release'}

image_list="${IMAGE_DOMAIN}/${IMAGE_NAMESPACE}/kubernetes-dashboard:v2.6.1
${IMAGE_DOMAIN}/${IMAGE_NAMESPACE}/registry:2.6.2
Expand Down Expand Up @@ -66,7 +66,7 @@ helm pull rainbond/rainbond-cluster

### 导入镜像包
```bash
docker load -i rainbond-v5.17.2-release.tar
docker load -i rainbond-v5.17.3-release.tar
```

### 安装 Rainbond
Expand Down Expand Up @@ -144,7 +144,7 @@ kubectl get rainbondcluster rainbondcluster -n rbd-system -o go-template --templ

```bash title="vim download_rbd_images_sourcebuild.sh"
#!/bin/bash
VERSION=${VERSION:-'v5.17.2-release'}
VERSION=${VERSION:-'v5.17.3-release'}

image_list="registry.cn-hangzhou.aliyuncs.com/goodrain/buildkit:latest
registry.cn-hangzhou.aliyuncs.com/goodrain/builder:${VERSION}
Expand All @@ -168,7 +168,7 @@ wget https://pkg.rainbond.com/offline/5.3-enterprise/rbd-resource-proxy-offline-
将镜像包导入到目标服务器

```bash
docker load -i rainbond-sourcebuild-v5.17.2-release.tar
docker load -i rainbond-sourcebuild-v5.17.3-release.tar
docker load -i rbd-resource-proxy-offline-amd64.tar
```

Expand All @@ -185,8 +185,8 @@ docker login -u admin goodrain.me -p <password>

# 重新打 tag 并推送镜像

docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release goodrain.me/builder:latest-amd64
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release goodrain.me/runner:latest-amd64
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release goodrain.me/builder:latest-amd64
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release goodrain.me/runner:latest-amd64
docker push goodrain.me/builder:latest-amd64
docker push goodrain.me/runner:latest-amd64
docker push goodrain.me/rbd-resource-proxy:offline-amd64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ hidden: false
安装方式:

```bash
docker run -it --rm -v /:/rootfs registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-grctl:v5.17.2-release copy
docker run -it --rm -v /:/rootfs registry.cn-hangzhou.aliyuncs.com/goodrain/rbd-grctl:v5.17.3-release copy
```

```bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ If there is no build log for a long time after you click to start building, chec
1. Pull image and change tag

```bash
nerdctl -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release
nerdctl -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release
nerdctl -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release
nerdctl -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release

nerdctl -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release goodrain.me/builder:latest
nerdctl -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release goodrain.me/runner:latest
nerdctl -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release goodrain.me/builder:latest
nerdctl -n k8s.io image tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release goodrain.me/runner:latest
```

2. Obtain the password of the private warehouse account and log in
Expand All @@ -124,11 +124,11 @@ nerdctl -n k8s.io image push goodrain.me/runner:latest --insecure-registry
1. Pull image and change tag

```bash
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release
docker pull registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release

docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.2-release goodrain.me/builder:latest
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.2-release goodrain.me/runner:latest
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/builder:v5.17.3-release goodrain.me/builder:latest
docker tag registry.cn-hangzhou.aliyuncs.com/goodrain/runner:v5.17.3-release goodrain.me/runner:latest
```

2. Obtain the password of the private warehouse account and log in
Expand Down
Loading

0 comments on commit a99c762

Please sign in to comment.