Clarify mirroring service default percent value
This commit is contained in:
parent
fe5c7fdc65
commit
aac8bc69ad
2 changed files with 12 additions and 0 deletions
|
|
@ -265,6 +265,10 @@ http:
|
|||
|
||||
The mirroring is able to mirror requests sent to a service to other services. Please note that by default the whole request is buffered in memory while it is being mirrored. See the `maxBodySize` option in the example below for how to modify this behaviour. You can also omit the request body by setting the `mirrorBody` option to false.
|
||||
|
||||
!!! warning "Default behavior of `percent`"
|
||||
|
||||
When configuring a `mirror` service, if the `percent` field is not set, it defaults to `0`, meaning **no traffic will be sent to the mirror**.
|
||||
|
||||
!!! info "Supported Providers"
|
||||
|
||||
This strategy can be defined currently with the [File](../../../install-configuration/providers/others/file.md) or [IngressRoute](../../../install-configuration/providers/kubernetes/kubernetes-ingress.md) providers.
|
||||
|
|
@ -285,6 +289,8 @@ http:
|
|||
maxBodySize: 1024
|
||||
mirrors:
|
||||
- name: appv2
|
||||
# Percent defines the percentage of requests that should be mirrored.
|
||||
# Default value is 0, which means no traffic will be sent to the mirror.
|
||||
percent: 10
|
||||
|
||||
appv1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue