Network addresses

    path

    (, REQUIRED) Unix Domain Socket path. On Linux, paths starting with ‘@’ will use the abstract namespace. The starting ‘@’ is replaced by a null byte by Envoy. Paths starting with ‘@’ will result in an error in environments other than Linux.

    core.SocketAddress

    [core.SocketAddress proto]

    1. "protocol": "...",
    2. "address": "...",
    3. "port_value": "...",
    4. "named_port": "...",
    5. "resolver_name": "...",
    6. "ipv4_compat": "..."

    protocol

    ()

    address

    (string, REQUIRED) The address for this socket. will bind to the address. An empty address is not allowed. Specify 0.0.0.0 or :: to bind to any address. When used within an upstream BindConfig, the address controls the source address of outbound connections. For , the cluster type determines whether the address must be an IP (STATIC or EDS clusters) or a hostname resolved by DNS (STRICT_DNS or LOGICAL_DNS clusters). Address resolution can be customized via resolver_name.

    port_value

    ()

    Precisely one of port_value, must be set.

    named_port

    (string) This is only valid if is specified below and the named resolver is capable of named port resolution.

    Precisely one of port_value, must be set.

    resolver_name

    ipv4_compat

    (bool) When binding to an IPv6 address above, this enables . Binding to :: will allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into IPv6 space as ::FFFF:<IPv4-address>.

    [core.SocketAddress.Protocol proto]

    TCP

    (DEFAULT)

    core.TcpKeepalive

    keepalive_probes

    (UInt32Value) Maximum number of keepalive probes to send without response before deciding the connection is dead. Default is to use the OS level configuration (unless overridden, Linux defaults to 9.)

    keepalive_time

    () The number of seconds a connection needs to be idle before keep-alive probes start being sent. Default is to use the OS level configuration (unless overridden, Linux defaults to 7200s (ie 2 hours.)

    keepalive_interval

    (UInt32Value) The number of seconds between keep-alive probes. Default is to use the OS level configuration (unless overridden, Linux defaults to 75s.)

    1. "source_address": "{...}",
    2. }

    source_address

    freebind

    (BoolValue) Whether to set the IP_FREEBIND option when creating the socket. When this flag is set to true, allows the to be an IP address that is not configured on the system running Envoy. When this flag is set to false, the option IP_FREEBIND is disabled on the socket. When this flag is not set (default), the socket is not modified, i.e. the option is neither enabled nor disabled.

    core.Address

    [core.Address proto]

    Addresses specify either a logical or physical address and port, which are used to tell Envoy where to bind/listen, connect to upstream and find management servers.

    socket_address

    ()

    Precisely one of socket_address, must be set.

    pipe

    (core.Pipe)

    Precisely one of , pipe must be set.

    CidrRange specifies an IP Address and a prefix length to construct the subnet mask for a CIDR range.

    1. {
    2. "address_prefix": "...",
    3. "prefix_len": "{...}"
    4. }

    address_prefix

    (, REQUIRED) IPv4 or IPv6 address, e.g. 192.0.0.0 or .

    (UInt32Value) Length of prefix, e.g. 0, 32.