Skip to content

Commit

Permalink
keep consistent with zh version
Browse files Browse the repository at this point in the history
  • Loading branch information
whalecold committed Jan 31, 2024
1 parent 3a3d15e commit fa27017
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/en/docs/kitex/Tutorials/advanced-feature/xds.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ client.WithXDSSuite(xds.ClientSuite{

We can define traffic route configuration via [VirtualService](https://istio.io/latest/docs/reference/config/networking/virtual-service/) in Istio.

The following example indicates that when the tag meets one of the conditions, such as `stage` exact match `canary` or `userid` prefix match `2100` or `env` regex match `[dev|sit]` in the header, the request will be routed to the `v1` subcluster of `kitex-server`.
The following example indicates that when the tag meets one of the conditions in the header, the request will be routed to the `v1` subcluster of `kitex-server`.
- `stage` exact match `canary`
- `userid` prefix match `2100`
- `env` regex match `[dev|sit]`

```
apiVersion: networking.istio.io/v1alpha3
Expand Down

0 comments on commit fa27017

Please sign in to comment.