Navigation :
Concepts
Setting up Gloo Mesh Enterprise
Configure gateways for ingress
Route requests
Control traffic with policies
Observability
Reference
-
API reference
-- access_log_policy.proto
-- access_logging.proto
-- access_policy.proto
-- accesslog.proto
-- address.proto
-- address.proto
-- address.proto
-- advanced_http.proto
-- any.proto
-- api.proto
-- approval_state.proto
-- auth_config.proto
-- authority.proto
-- authorize.proto
-- aws_lambda.proto
-- backoff.proto
-- backoff.proto
-- base.proto
-- base.proto
-- base.proto
-- ca_options.proto
-- cache.proto
-- cache_filter.proto
-- certificate_request.proto
-- collection_entry.proto
-- common.proto
-- config.proto
-- config_source.proto
-- consul_connect.proto
-- context_params.proto
-- core.proto
-- cors_policy.proto
-- csrf_policy.proto
-- cue.proto
-- custom_tag.proto
-- custom_tag.proto
-- dashboard.proto
-- deprecation.proto
-- descriptor.proto
-- descriptor.proto
-- destination_rule.proto
-- discovered_gateway.proto
-- discovery.proto
-- duration.proto
-- empty.proto
-- envoy_filter.proto
-- event_service_config.proto
-- ext.proto
-- ext_auth_policy.proto
-- ext_auth_server.proto
-- extension.proto
-- external_endpoint.proto
-- external_service.proto
-- failover_policy.proto
-- fault_injection_policy.proto
-- field_behavior.proto
-- field_mask.proto
-- gateway.proto
-- generated.proto
-- generated.proto
-- generated.proto
-- generated.proto
-- generated.proto
-- generated.proto
-- gogo.proto
-- graphql.proto
-- grpc_service.proto
-- header_manipulation.proto
-- health_check.proto
-- http.proto
-- http_matchers.proto
-- http_path.proto
-- http_uri.proto
-- http_uri.proto
-- http_uri.proto
-- issued_certificate.proto
-- json_grpc_transcoder.proto
-- jwt_policy.proto
-- kubernetes_cluster.proto
-- locality.proto
-- mesh.proto
-- metadata.proto
-- metadata.proto
-- metadata.proto
-- metrics.proto
-- migrate.proto
-- mirror_policy.proto
-- modsecurity.proto
-- nats_streaming.proto
-- number.proto
-- operator.proto
-- outlier_detection_policy.proto
-- payload.proto
-- percent.proto
-- percent.proto
-- percent.proto
-- phase.proto
-- pod_bounce_directive.proto
-- port.proto
-- protocol.proto
-- proxy_protocol.proto
-- proxy_protocol_policy.proto
-- proxylatency.proto
-- range.proto
-- range.proto
-- ratelimit.proto
-- ratelimit_client_config.proto
-- ratelimit_policy.proto
-- ratelimit_server_config.proto
-- ratelimit_server_settings.proto
-- ref.proto
-- regex.proto
-- regex.proto
-- resource.proto
-- resource_locator.proto
-- retry_timeout_policy.proto
-- root_trust_policy.proto
-- route.proto
-- route_components.proto
-- route_components.proto
-- route_table.proto
-- sanitize.proto
-- security.proto
-- selectors.proto
-- semantic_version.proto
-- semantic_version.proto
-- semantic_version.proto
-- sensitive.proto
-- service_entry.proto
-- sidecar.proto
-- socket_option.proto
-- socket_option.proto
-- socket_option.proto
-- solo-kit.proto
-- solo_jwt_authn.proto
-- solo_xff_offset_filter.proto
-- source_context.proto
-- status.proto
-- status.proto
-- string.proto
-- string.proto
-- string_match.proto
-- struct.proto
-- timestamp.proto
-- trace.proto
-- trace_config.proto
-- transformation_ee_filter.proto
-- transformation_filter.proto
-- transformation_policy.proto
-- type.proto
-- validate.proto
-- value.proto
-- vault_ca.proto
-- versioning.proto
-- virtual_destination.proto
-- virtual_gateway.proto
-- virtual_service.proto
-- waf_policy.proto
-- wasm_deployment_policy.proto
-- workload_entry.proto
-- workload_group.proto
-- workspace.proto
-- workspace_settings.proto
-- wrappers.proto
-- xds_config.proto
-- xslt_transformer.proto
-
CLI reference
-
Helm value reference
-
Version reference
- Changelog
-
Security and CVE report
Troubleshoot
Get help and support
ratelimit_policy.proto
Package : trafficcontrol.policy.gloo.solo.io
Top
ratelimit_policy.proto
Table of Contents
RateLimitPolicySpec
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
RateLimitPolicySpec.Config
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.
RateLimitPolicyStatus
Reflects the status of the RateLimitPolicy
RateLimitPolicyStatus.WorkspacesEntry