mirror of https://github.com/istio/istio.io.git
fix example content `mirrorPercent` to `mirrorPercentage` (#9764)
* fix example content `mirrorPercentage` * commit generated file
This commit is contained in:
parent
db2ba10111
commit
38b55913f3
|
@ -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:
|
||||
|
|
|
@ -208,7 +208,8 @@ spec:
|
|||
mirror:
|
||||
host: httpbin
|
||||
subset: v2
|
||||
mirrorPercent: 100
|
||||
mirrorPercentage:
|
||||
value: 100.0
|
||||
EOF
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue