On this page
MirrorPolicy
MirrorPolicy API reference.
Proto: mirror_policy.proto
Package: trafficcontrol.policy.gloo.solo.io
MirrorPolicyReport
Field | Description |
---|---|
workspaces | (repeated MirrorPolicyReport.WorkspacesEntry )The status of the resource in each workspace that it exists in. |
selectedRoutes | (repeated common.gloo.solo.io.RouteReference )A list of references to all routes selected by the policy. |
MirrorPolicyReport.WorkspacesEntry
Field | Description |
---|---|
key | (string ) |
value | (common.gloo.solo.io.Report ) |
MirrorPolicySpec
MirrorPolicy is used to mirror/shadow traffic to a another destination (traffic will be sent to its original destination in addition to the mirrored destinations). MirrorPolicies are applied at the Route level.
Field | Description |
---|---|
applyToRoutes | (repeated common.gloo.solo.io.RouteSelector )Routes to apply the policy to. If empty, the policy applies to all workloads in the workspace. |
config | (MirrorPolicySpec.Config )The details of the Mirror policy to apply to the selected routes |
MirrorPolicySpec.Config
Field | Description |
---|---|
destination | (common.gloo.solo.io.DestinationReference )The destination to which to send mirrored traffic |
percentage | (google.protobuf.DoubleValue )Percentage of traffic to mirror. If omitted all traffic will be mirrored. Values must be between 0 and 100. For information about the value format, see the Google protocol buffer documentation. |
MirrorPolicyStatus
The status of the policy after it is applied to your Gloo environment.
Field | Description |
---|---|
common | (common.gloo.solo.io.Status )The state and workspace conditions of the applied resource. |
numSelectedRoutes | (uint32 )The number of routes selected by this policy. |