fix mirror task doc (#8802)

* fix mirror task doc

* make gen
This commit is contained in:
Xinnan Wen 2021-01-20 11:12:29 -08:00 committed by GitHub
parent 4136552bf6
commit 06913341a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ For more information, see the
Istio uses the Envoy proxy to generate metrics and provides its configuration in
the `EnvoyFilter` at
[`manifests/charts/istio-control/istio-discovery/templates/telemetryv2_1.6.yaml`]({{<github_blob>}}/manifests/charts/istio-control/istio-discovery/templates/telemetryv2_1.6.yaml).
[`manifests/charts/istio-control/istio-discovery/templates/telemetryv2_1.8.yaml`]({{<github_blob>}}/manifests/charts/istio-control/istio-discovery/templates/telemetryv2_1.8.yaml).
As a result, writing classification rules involves adding attributes to the
`EnvoyFilter`.

View File

@ -231,7 +231,7 @@ log entries for `v1` and none for `v2`:
mirror:
host: httpbin
subset: v2
mirror_percent: 100
mirrorPercent: 100
EOF
{{< /text >}}
@ -244,7 +244,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 `mirror_percent` field to mirror a fraction of the traffic,
You can use the `mirrorPercent` field to mirror a fraction of the traffic,
instead of mirroring all requests. If this field is absent, for compatibility with
older versions, all traffic will be mirrored.
1. Send in traffic:

View File

@ -208,7 +208,7 @@ spec:
mirror:
host: httpbin
subset: v2
mirror_percent: 100
mirrorPercent: 100
EOF
}