On this page
ListenerConnectionPolicy
ListenerConnectionPolicy API reference.
Proto: listener_connection_policy.proto
Package: resilience.policy.gloo.solo.io
ListenerConnectionPolicyReport
| Field | Description |
|---|---|
workspaces | (repeated ListenerConnectionPolicyReport.WorkspacesEntry)A list of workspaces in which the policy can apply to workloads. |
selectedListeners | (repeated common.gloo.solo.io.ListenerPortReference)A list of virtual gateway listeners selected by the policy. |
ListenerConnectionPolicyReport.WorkspacesEntry
| Field | Description |
|---|---|
key | (string) |
value | (common.gloo.solo.io.Report) |
ListenerConnectionPolicySpec
ListenerConnectionPolicy is used to set configuration for gateway listeners.
apiVersion: resilience.policy.gloo.solo.io/v2
kind: ListenerConnectionPolicy
metadata:
name: my-policy
namespace: bookinfo
spec:
config:
perConnectionBufferLimitBytes: 16384
applyToListeners:
- virtualGateway:
name: virtual-gateway
namespace: bookinfo
cluster: my-cluster
port:
number: 443
| Field | Description |
|---|---|
applyToListeners | (repeated common.gloo.solo.io.ListenerSelector)The VirtualGateway(s) and Port(s) to which this policy applies. |
config | (ListenerConnectionPolicySpec.Config) |
ListenerConnectionPolicySpec.Config
The configuration to apply to the selected listeners.
| Field | Description |
|---|---|
perConnectionBufferLimitBytes | (google.protobuf.UInt32Value)Required: Soft limit on size of the listener’s new connection read and write buffers. Default value set by Envoy is 1MiB. |
tcpKeepalive | (common.gloo.solo.io.TCPKeepalive)Sets the TCP keep-alive settings to apply to selected listeners. |
ListenerConnectionPolicyStatus
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. |
numSelectedListeners | (uint32)The number of virtual gateway listeners selected by the policy. |