docs: add note about missing primary cluster (#9704)

This is expected behavior, but just lets add a note to
RequestMirrorPolicy as a reminder.

Fixes #9698

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>

Mirrored from https://github.com/envoyproxy/envoy @ 552a42d6cd12fbde790c0f5664a1141e37c160e1
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent f9f81d3bbb
commit 397797c530
  1. 4
      envoy/api/v2/route/route_components.proto
  2. 4
      envoy/config/route/v3/route_components.proto

@ -548,6 +548,10 @@ message RouteAction {
//
// During shadowing, the host/authority header is altered such that *-shadow* is appended. This is
// useful for logging. For example, *cluster1* becomes *cluster1-shadow*.
//
// .. note::
//
// Shadowing will not be triggered if the primary cluster does not exist.
message RequestMirrorPolicy {
// Specifies the cluster that requests will be mirrored to. The cluster must
// exist in the cluster manager configuration.

@ -512,6 +512,10 @@ message RouteAction {
//
// During shadowing, the host/authority header is altered such that *-shadow* is appended. This is
// useful for logging. For example, *cluster1* becomes *cluster1-shadow*.
//
// .. note::
//
// Shadowing will not be triggered if the primary cluster does not exist.
message RequestMirrorPolicy {
option (udpa.annotations.versioning).previous_message_type =
"envoy.api.v2.route.RouteAction.RequestMirrorPolicy";

Loading…
Cancel
Save