You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/19 01:08:08 UTC

[GitHub] [apisix] SylviaBABY commented on a diff in pull request #7933: docs(plugin): refactor traffic-split.md

SylviaBABY commented on code in PR #7933:
URL: https://github.com/apache/apisix/pull/7933#discussion_r973808791


##########
docs/zh/latest/plugins/traffic-split.md:
##########
@@ -23,53 +28,54 @@ title: traffic-split
 
 ## 描述
 
-traffic-split 插件使用户可以逐步引导各个上游之间的流量百分比。
+`traffic-split` 插件可以通过配置 `match` 和 `weighted_upstreams` 属性,从而动态地将部分流量引导至各种上游服务。`match` 是用于分割流量的自定义规则,`weighted_upstreams` 是用于引导流量的一组上游服务。当一个请求被 `match` 属性匹配时,它将根据配置的 `weights` 属性被引导到上游服务。你也可以不使用 `match` 属性,而根据 `weighted_upstreams` 属性引导所有流量。

Review Comment:
   你可以使用该插件进行灰度发布和蓝绿发布的场景应用。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org