Package : trafficcontrol.policy.gloo.solo.io



Table of Contents


RateLimitPolicy is used to assign ratelimit configuration to specific routes or destinations. Traffic is forwarded to a rate-limited destinations specified in the RatelimitServerSettings. The RatelimitServerSettings is also used to configure connecting settings. If this is not provided, the default connection settings and default gloo mesh ratelimiter server destination will be used. RateLimitPolicies are applied at the Route level and Destination levels. Default is to apply policy to all destinations.

Field Type Label Description
applyToRoutes []common.gloo.solo.io.RouteSelector repeated Select the routes where the policy will be applied. If left empty, no ratelimits on routes will be applied in the workspace.
applyToDestinations []common.gloo.solo.io.DestinationSelector repeated Select the destinations where the policy will be applied. Default behavior if no selectors are specified is to apply to all destinations in the workspace. If left empty and the route selector is set, no ratelimits on destinations will be applied.
config trafficcontrol.policy.gloo.solo.io.RateLimitPolicySpec.Config The configuration details of the rate limit policy to apply to the selected routes


Field Type Label Description
phase common.gloo.solo.io.PrioritizedPhase Specify the phase to indicate where this policy should be applied relative to other policies. If no phase is specified, the default will be post AuthZ.
ratelimitServerConfig common.gloo.solo.io.ObjectReference Reference to the RatelimitServerConfig to use for this policy. If none is provided, no ratelimit will be enforced
serverSettings common.gloo.solo.io.ObjectReference Reference to the RatelimitServerSettings to use for this policy. Currently routes on a single VirtualGateway or destination must share a single RatelimitServerSettings. If none is provided, the default Gloo RatelimitServerSettings will be used.
raw trafficcontrol.policy.gloo.solo.io.Raw Inline a policy using the raw configuration format used by the ratelimit server.
ratelimitClientConfig common.gloo.solo.io.ObjectReference Select a RatelimitClientConfig policy to apply.


Reflects the status of the RateLimitPolicy

Field Type Label Description
global common.gloo.solo.io.GenericGlobalStatus
workspaces []trafficcontrol.policy.gloo.solo.io.RateLimitPolicyStatus.WorkspacesEntry repeated The status of the resource in each workspace that it exists in.
selectedDestinationPorts []common.gloo.solo.io.DestinationReference repeated Destination ports selected by the policy
selectedRoutes []common.gloo.solo.io.RouteReference repeated Routes selected by the policy


Field Type Label Description
key string
value common.gloo.solo.io.WorkspaceStatus