On this page
HttpBufferPolicy
HttpBufferPolicy API reference.
Proto: http_buffer_policy.proto
Package: trafficcontrol.policy.gloo.solo.io
Types:
- HTTPBufferPolicyReport
- HTTPBufferPolicyReport.WorkspacesEntry
- HTTPBufferPolicySpec
- HTTPBufferPolicySpec.Config
- HTTPBufferPolicyStatus
HTTPBufferPolicyReport
Field | Description |
---|---|
workspaces | (repeated HTTPBufferPolicyReport.WorkspacesEntry ) |
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
reflects the status of the HTTPBufferPolicy
Field | Description |
---|---|
common | (common.gloo.solo.io.Status ) |
numSelectedRoutes | (uint32 )The number of routes selected by the policy. |