fix example content `mirrorPercent` to `mirrorPercentage` (#9764)

* fix example content `mirrorPercentage`

* commit generated file
This commit is contained in:
Taction 2021-05-16 23:57:40 +08:00 committed by GitHub
parent db2ba10111
commit 38b55913f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -231,7 +231,8 @@ log entries for `v1` and none for `v2`:
mirror:
host: httpbin
subset: v2
mirrorPercent: 100
mirrorPercentage:
value: 100.0
EOF
{{< /text >}}
@ -244,7 +245,7 @@ log entries for `v1` and none for `v2`:
Also, it is important to note that these requests are mirrored as "fire and
forget", which means that the responses are discarded.
You can use the `mirrorPercent` field to mirror a fraction of the traffic,
You can use the `value` field under the `mirrorPercentage` field to mirror a fraction of the traffic,
instead of mirroring all requests. If this field is absent, all traffic will be mirrored.
1. Send in traffic:

View File

@ -208,7 +208,8 @@ spec:
mirror:
host: httpbin
subset: v2
mirrorPercent: 100
mirrorPercentage:
value: 100.0
EOF
}