Skip to content

Commit 1bfb9ad

Browse files
authored
Merge pull request #383 from lilai23/2.2.x
update recommendable version
2 parents 3153cb4 + 090bcb7 commit 1bfb9ad

24 files changed

Lines changed: 53 additions & 53 deletions

docs/en/document/developer-guide/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ This article is for guidance on how to develop your first plugin locally.
1212
Execute the following Maven commands locally:
1313

1414
```shell
15-
$ mvn archetype:generate -DarchetypeGroupId=io.sermant -DarchetypeArtifactId=sermant-template-archetype -DarchetypeVersion=2.1.0 -DgroupId=io.sermant -Dversion=2.1.0 -Dpackage=io.sermant -DartifactId=first-plugin
15+
$ mvn archetype:generate -DarchetypeGroupId=io.sermant -DarchetypeArtifactId=sermant-template-archetype -DarchetypeVersion=2.2.0 -DgroupId=io.sermant -Dversion=2.2.0 -Dpackage=io.sermant -DartifactId=first-plugin
1616
```
1717

1818
After executing the above command, press Enter for confirmation when the following log is displayed:
1919

2020
```shell
2121
[INFO] Using property: groupId = io.sermant
2222
[INFO] Using property: artifactId = first-plugin
23-
[INFO] Using property: version = 2.1.0
23+
[INFO] Using property: version = 2.2.0
2424
[INFO] Using property: package = io.sermant
2525
Confirm properties configuration:
2626
groupId: io.sermant
2727
artifactId: first-plugin
28-
version: 2.1.0
28+
version: 2.2.0
2929
package: io.sermant
3030
Y: :
3131
```

docs/en/document/plugin/router.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ Take the Spring Cloud scenario as an example to demonstrate the use of tag routi
158158

159159
### Preparations
160160

161-
- [Download](https://github.com/sermant-io/Sermant/releases/download/v2.1.0/sermant-2.1.0.tar.gz) Sermant Release package (current recommended version is 2.1.0)
162-
- [Download](https://github.com/sermant-io/Sermant-examples/releases/download/v2.1.0/sermant-examples-router-demo-2.1.0.tar.gz) Demo binary artifact package
161+
- [Download](https://github.com/sermant-io/Sermant/releases/download/v2.2.0/sermant-2.2.0.tar.gz) Sermant Release package (current recommended version is 2.2.0)
162+
- [Download](https://github.com/sermant-io/Sermant-examples/releases/download/v2.2.0/sermant-examples-router-demo-2.2.0.tar.gz) Demo binary artifact package
163163
- [Download](https://github.com/apache/servicecomb-service-center) ServiceComb (registry center), and start it
164164
- [Download](https://zookeeper.apache.org/releases.html#download) ZooKeeper (dynamic configuration center), and start it
165165

docs/en/document/user-guide/sermant-backend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ Sermant Backend is developed using JDK 1.8, so the running environment requires
102102

103103
### 1 Preparation
104104

105-
- [Download](https://github.com/sermant-io/Sermant/releases/download/v2.1.0/sermant-2.1.0.tar.gz) Sermant
106-
Release package (current version recommends version 2.1.0)
105+
- [Download](https://github.com/sermant-io/Sermant/releases/download/v2.2.0/sermant-2.2.0.tar.gz) Sermant
106+
Release package (current version recommends version 2.2.0)
107107
- [Download](https://github.com/sermant-io/Sermant-examples/releases/download/v1.4.0/sermant-examples-springboot-registry-demo-1.4.0.tar.gz) Demo binary product Archive
108108
- [Download](https://zookeeper.apache.org/releases.html#download)ZooKeeper (dynamic configuration center & registration center), and start
109109

docs/en/document/user-guide/sermant-xds.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ This demo includes a spring-client microservice, a spring-server microservice, a
501501

502502
#### 1 Preparations
503503

504-
- [Download](https://github.com/sermant-io/Sermant-examples/releases/download/v2.1.0/sermant-examples-xds-service-discovery-demo-2.1.0.tar.gz) the binary package of the demo.
504+
- [Download](https://github.com/sermant-io/Sermant-examples/releases/download/v2.2.0/sermant-examples-xds-service-discovery-demo-2.2.0.tar.gz) the binary package of the demo.
505505
- Prepare the Kubernetes environment.
506506
- Install Istio and start it.
507507

@@ -557,12 +557,12 @@ Greetings from http://xxx.xxx.xxx.xxx:8080 : hello, the current time is 2050-01-
557557

558558
### Routing Example Based on xDS Service
559559

560-
This tutorial demonstrates Sermant's routing capabilities based on xDS service using the `xds-router-demo` from the [Sermant-examples](https://github.com/sermant-io/Sermant-examples/tree/main/xds-router-demo) repository. The demo includes two microservices: `spring-client` and `spring-server`. The `spring-client` microservice starts with the Sermant routing plugin and enables xDS-based routing capabilities. When the `spring-client` calls upstream services, the Sermant routing plugin routes the requests based on the upstream service’s routing rules, selecting the appropriate service instance that meets the rules.
560+
This tutorial demonstrates Sermant's routing capabilities based on xDS service using the `xds-demo` from the [Sermant-examples](https://github.com/sermant-io/Sermant-examples/tree/main/xds-demo) repository. The demo includes two microservices: `spring-client` and `spring-server`. The `spring-client` microservice starts with the Sermant routing plugin and enables xDS-based routing capabilities. When the `spring-client` calls upstream services, the Sermant routing plugin routes the requests based on the upstream service’s routing rules, selecting the appropriate service instance that meets the rules.
561561

562562
#### 1. Preparation
563563

564-
- [Download](https://github.com/sermant-io/Sermant-examples/releases/download/v2.1.0/sermant-examples-xds-router-demo-2.1.0.tar.gz) the demo binary artifact package.
565-
- [Download](https://github.com/sermant-io/Sermant/releases/download/v2.1.0/sermant-2.1.0.tar.gz) the Sermant binary artifact package.
564+
- [Download](https://github.com/sermant-io/Sermant-examples/releases/download/v2.2.0/sermant-examples-xds-demo-2.2.0.tar.gz) the demo binary artifact package.
565+
- [Download](https://github.com/sermant-io/Sermant/releases/download/v2.2.0/sermant-2.2.0.tar.gz) the Sermant binary artifact package.
566566
- Prepare a Kubernetes environment.
567567
- Install and start [Istio](https://istio.io/v1.23/docs/setup/getting-started/).
568568

docs/zh/document/QuickStart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
## 准备工作
55

6-
- [下载](https://github.com/sermant-io/Sermant/releases/download/v2.1.0/sermant-2.1.0.tar.gz) Sermant Release包(当前版本推荐2.1.0版本)
7-
- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.1.0/sermant-examples-flowcontrol-demo-2.1.0.tar.gz) Demo二进制产物压缩包
6+
- [下载](https://github.com/sermant-io/Sermant/releases/download/v2.2.0/sermant-2.2.0.tar.gz) Sermant Release包(当前版本推荐2.2.0版本)
7+
- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.2.0/sermant-examples-flowcontrol-demo-2.2.0.tar.gz) Demo二进制产物压缩包
88
- [下载](https://zookeeper.apache.org/releases#download) 并启动ZooKeeper
99

1010
## 获取Demo二进制产物

docs/zh/document/developer-guide/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
1212
本地执行如下Maven指令:
1313

1414
```shell
15-
$ mvn archetype:generate -DarchetypeGroupId=io.sermant -DarchetypeArtifactId=sermant-template-archetype -DarchetypeVersion=2.1.0 -DgroupId=io.sermant -Dversion=2.1.0 -Dpackage=io.sermant -DartifactId=first-plugin
15+
$ mvn archetype:generate -DarchetypeGroupId=io.sermant -DarchetypeArtifactId=sermant-template-archetype -DarchetypeVersion=2.2.0 -DgroupId=io.sermant -Dversion=2.2.0 -Dpackage=io.sermant -DartifactId=first-plugin
1616
```
1717

1818
执行上述指令后,出现下述日志后回车进行确认:
1919

2020
```shell
2121
[INFO] Using property: groupId = io.sermant
2222
[INFO] Using property: artifactId = first-plugin
23-
[INFO] Using property: version = 2.1.0
23+
[INFO] Using property: version = 2.2.0
2424
[INFO] Using property: package = io.sermant
2525
Confirm properties configuration:
2626
groupId: io.sermant
2727
artifactId: first-plugin
28-
version: 2.1.0
28+
version: 2.2.0
2929
package: io.sermant
3030
Y: :
3131
```

docs/zh/document/faq/performance.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Sermant版本:[`Release v2.0.0`](https://github.com/sermant-io/Sermant/release
307307

308308
2. Sidecar性能对比:测试Java应用在2000TPS下使用Sermant xDS路由和负载均衡能力或Sidecar(Envoy)相较于基线应用的性能对比,包括Pod的CPU占用、内存和服务调用时延指标。测试场景为spring-client应用查询数据库并调用spring-server应用,spring-client使用Sermant的路由插件实现基于xDS服务的路由和负载均衡能力,采集spring-client应用使用不同Http框架时所在Pod的性能指标。
309309

310-
> 说明:使用 [xds-router-demo](https://github.com/sermant-io/Sermant-examples/releases/download/v2.1.0/sermant-examples-xds-router-demo-2.1.0.tar.gz) 作为本次的基准应用进行性能测试
310+
> 说明:使用 [xds-demo](https://github.com/sermant-io/Sermant-examples/releases/download/v2.2.0/sermant-examples-xds-demo-2.2.0.tar.gz) 作为本次的基准应用进行性能测试
311311
312312
### 第一组测试:基线应用内存对比
313313

@@ -324,7 +324,7 @@ Istio Version:v1.17.8
324324

325325
K8s中所有应用Container的规格一致,均为`2vCPUs|4GiB`
326326

327-
Sermant版本:[`Release v2.1.0`](https://github.com/sermant-io/Sermant/releases/tag/v2.1.0)
327+
Sermant版本:[`Release v2.2.0`](https://github.com/sermant-io/Sermant/releases/tag/v2.2.0)
328328

329329
#### 测试结果
330330

@@ -361,7 +361,7 @@ Istio Version:v1.17.8
361361

362362
K8s中所有应用Container的规格一致,均为`4vCPUs|8GiB`,Envoy 的Container规格为`4vCPUs|8GiB`
363363

364-
Sermant版本:[`Release v2.1.0`](https://github.com/sermant-io/Sermant/releases/tag/v2.1.0)
364+
Sermant版本:[`Release v2.2.0`](https://github.com/sermant-io/Sermant/releases/tag/v2.2.0)
365365

366366
#### 测试结果
367367

docs/zh/document/plugin/database-write-prohibition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@
116116
117117
### 1 准备工作
118118
119-
- [下载 ](https://github.com/sermant-io/Sermant/releases/download/v2.1.0/sermant-2.1.0.tar.gz) Sermant Release包(当前版本推荐2.1.0版本)
119+
- [下载 ](https://github.com/sermant-io/Sermant/releases/download/v2.2.0/sermant-2.2.0.tar.gz) Sermant Release包(当前版本推荐2.2.0版本)
120120
- [下载](https://zookeeper.apache.org/releases.html#download) ZooKeeper Release包
121121
- [下载](https://www.mongodb.com/try/download/community) MongoDB 安装包并安装
122-
- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.1.0/sermant-examples-database-write-prohibition-demo-2.1.0.tar.gz) Demo二进制产物压缩包
122+
- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.2.0/sermant-examples-database-write-prohibition-demo-2.2.0.tar.gz) Demo二进制产物压缩包
123123
124124
### 2 获取Demo二进制产物
125125

docs/zh/document/plugin/dynamic-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ public class ValueConfig {
124124

125125
### 1 准备工作
126126

127-
- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.1.0/sermant-examples-dynamic-demo-2.1.0.tar.gz) Demo二进制产物压缩包
128-
- [下载](https://github.com/sermant-io/Sermant/releases/download/v2.1.0/sermant-2.1.0.tar.gz) Sermant Release包(当前版本推荐2.1.0版本)
127+
- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.2.0/sermant-examples-dynamic-demo-2.2.0.tar.gz) Demo二进制产物压缩包
128+
- [下载](https://github.com/sermant-io/Sermant/releases/download/v2.2.0/sermant-2.2.0.tar.gz) Sermant Release包(当前版本推荐2.2.0版本)
129129
- [下载](https://zookeeper.apache.org/releases#download) 并启动ZooKeeper
130130

131131
### 2 获取Demo二进制产物

docs/zh/document/plugin/flowcontrol.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,8 @@ http客户端调用上游服务的URL格式需要为`http://${serviceName}.${hos
656656

657657
### 1 准备工作
658658

659-
- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.1.0/sermant-examples-dynamic-demo-2.1.0.tar.gz) 流控Demo二进制产物压缩包
660-
- [下载](https://github.com/sermant-io/Sermant/releases/download/v2.1.0/sermant-2.1.0.tar.gz) Sermant Release包(当前版本推荐2.1.0版本)
659+
- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.2.0/sermant-examples-dynamic-demo-2.2.0.tar.gz) 流控Demo二进制产物压缩包
660+
- [下载](https://github.com/sermant-io/Sermant/releases/download/v2.2.0/sermant-2.2.0.tar.gz) Sermant Release包(当前版本推荐2.2.0版本)
661661
- [下载](https://zookeeper.apache.org/releases#download)并启动ZooKeeper
662662

663663
### 2 限流示例

0 commit comments

Comments
 (0)