ConnectionPolicy

Proto: connection_policy.proto

Package: resilience.policy.gloo.solo.io

Types:

ConnectionPolicySpec

ConnectionPolicy provides settings to apply low-level settings on selected TCP connections.

Field Description
applyToDestinations (repeated common.gloo.solo.io.DestinationSelector)

select the destinations where the policy will be applied. If left empty, this will apply to all destinations in the workspace.
config (ConnectionPolicySpec.Config)

The details of the low-level network connection settings to apply to the destinations.

ConnectionPolicySpec.Config

Field Description
tcp (ConnectionPolicySpec.Config.TCPConfig)

The low-level TCP connection settings to apply to the destinations selected.

ConnectionPolicySpec.Config.TCPConfig

Field Description
tcpKeepalive (common.gloo.solo.io.TCPKeepalive)

Sets the TCP keep-alive settings to apply to selected destinations.
maxConnections (int32)

Sets the maximum allowed connections to the destination host.
connectTimeout (google.protobuf.Duration)

Sets the TCP connection timeout. It must be greater than or equal to 1ms. For information about the value format, see the Google protocol buffer documentation.

ConnectionPolicyStatus

Reflects the status of the ConnectionPolicy.

Field Description
global (common.gloo.solo.io.GenericGlobalStatus)

workspaces (repeated ConnectionPolicyStatus.WorkspacesEntry)

The status of the resource in each workspace that it exists in.
selectedDestiantionPorts (repeated common.gloo.solo.io.DestinationReference)

Destination ports selected by the policy

ConnectionPolicyStatus.WorkspacesEntry

Field Description
key (string)

value (common.gloo.solo.io.WorkspaceStatus)