Envoy TcpProxy配置框架

static_resources:
  listeners: 
    name: ...
    address: {...}
    additional_addresses: []
    stat_prefix: ...
    filter_chains: 
      filter_chain_match: {...}
      filters: 
        name: ...
        typed_config: ...
          "@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
            stat_prefix: ...
            cluster: ...
            weighted_clusters: {...}
            on_demand: {...}
            metadata_match: {...}
            idle_timeout: {...}
            access_log: []
            max_connect_attempts: {...}
            hash_policy: []
            tunneling_config: {...}
            max_downstream_connection_duration: {...}

https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto#extension-envoy-filters-network-tcp-proxy

posted @ 2022-08-30 17:10  小吉猫  阅读(96)  评论(0编辑  收藏  举报