Skip to content

Optimize the connection between Envoy and gateway to ensure the reliability of the connection #1565

@tmsnan

Description

@tmsnan

Description:

Add the upstream_connection_options in the bootstrap configuration to ensure the reliability of the connection

static_resources:
  clusters:
  - connect_timeout: 10s
    upstream_connection_options:
      tcp_keepalive:
        keepalive_time: 300
    load_assignment:
      cluster_name: xds_cluster
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: {{ .XdsServer.Address }}
                port_value: {{ .XdsServer.Port }}

[optional Relevant Links:]

Any extra documentation required to understand the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions