This project is in the process of being donated to the CNCF and is not affiliated with the Kubernetes project.

connection.proto

Package: gloo.solo.io Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/connection.proto


ConnectionConfig

Fine tune the settings for connections to an upstream

"maxRequestsPerConnection": int
"connectTimeout": .google.protobuf.Duration
"tcpKeepalive": .gloo.solo.io.ConnectionConfig.TcpKeepAlive
"perConnectionBufferLimitBytes": .google.protobuf.UInt32Value
"commonHttpProtocolOptions": .protocol.options.gloo.solo.io.HttpProtocolOptions
"http1ProtocolOptions": .protocol.options.gloo.solo.io.Http1ProtocolOptions
Field Type Description
maxRequestsPerConnection int Maximum requests for a single upstream connection (unspecified or zero = no limit).
connectTimeout .google.protobuf.Duration The timeout for new network connections to hosts in the cluster.
tcpKeepalive .gloo.solo.io.ConnectionConfig.TcpKeepAlive Configure OS-level tcp keepalive checks.
perConnectionBufferLimitBytes .google.protobuf.UInt32Value Soft limit on size of the cluster’s connections read and write buffers. If unspecified, an implementation defined default is applied (1MiB). For more info, see the envoy docs.
commonHttpProtocolOptions .protocol.options.gloo.solo.io.HttpProtocolOptions Additional options when handling HTTP requests upstream. These options will be applicable to both HTTP1 and HTTP2 requests.
http1ProtocolOptions .protocol.options.gloo.solo.io.Http1ProtocolOptions Additional Options when handling HTTP requests upstream. These options will be applicable only to HTTP1 requests.

TcpKeepAlive

If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. see more info here: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/address.proto#config-core-v3-tcpkeepalive

"keepaliveProbes": int
"keepaliveTime": .google.protobuf.Duration
"keepaliveInterval": .google.protobuf.Duration
Field Type Description
keepaliveProbes int Maximum number of keepalive probes to send without response before deciding the connection is dead.
keepaliveTime .google.protobuf.Duration The number of seconds a connection needs to be idle before keep-alive probes start being sent. This is rounded up to the second.
keepaliveInterval .google.protobuf.Duration The number of seconds between keep-alive probes. This is rounded up to the second.