On this page
HttpBufferPolicy
HttpBufferPolicy API reference.
Proto: http_buffer_policy.proto
Package: trafficcontrol.policy.gloo.solo.io
HTTPBufferPolicyReport
Field | Description |
---|---|
workspaces | (repeated HTTPBufferPolicyReport.WorkspacesEntry )A list of workspaces in which the policy can apply to workloads. |
selectedRoutes | (repeated common.gloo.solo.io.RouteReference )A list of references to all routes selected by the policy. |
HTTPBufferPolicyReport.WorkspacesEntry
Field | Description |
---|---|
key | (string ) |
value | (common.gloo.solo.io.Report ) |
HTTPBufferPolicySpec
HTTPBufferPolicy is used to enable http buffers for routes
For more details on HTTPBuffer, visit: https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/buffer_filter
apiVersion: trafficcontrol.policy.gloo.solo.io/v2
kind: HTTPBufferPolicy
metadata:
name: buffer
namespace: bookinfo
spec:
config:
maxRequestBytes: 16384
applyToRoutes:
- route:
labels:
route: productpage
Field | Description |
---|---|
applyToRoutes | (repeated common.gloo.solo.io.RouteSelector ) |
config | (HTTPBufferPolicySpec.Config ) |
HTTPBufferPolicySpec.Config
Field | Description |
---|---|
maxRequestBytes | (google.protobuf.UInt32Value )The maximum request size that the filter will buffer before the connection manager will stop buffering and return a 413 response |
HTTPBufferPolicyStatus
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 the policy. |