Configuring Non TLS cluster endpoints

15 views
Skip to first unread message

Vikram Chhibber

unread,
May 10, 2020, 9:08:49 PM5/10/20
to envoy-users
Hi All,

I have a scenario where Envoy is used as TLS terminator for incoming traffic and communicates with Non TLS endpoints. I could not find example to configure Envoy this way. Can anyone please share the yaml configuraiton for the same?
This is what I have presently. Envoy seems to default to TLS when originating the upstream traffic.

  clusters:
    ...
    http_protocol_options: {}
    tls_context: {}
    load_assignment:
      cluster_name: xyz
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: localhost
                port_value: 8639


Thanks



Michael P.

unread,
May 11, 2020, 12:33:21 PM5/11/20
to envoy-users
Try removing the following lines from your cluster config:

    http_protocol_options: {}
    tls_context: {}

Vikram Chhibber

unread,
May 12, 2020, 12:02:12 PM5/12/20
to envoy-users
Thanks Michael. It worked.


On Sunday, May 10, 2020 at 6:08:49 PM UTC-7, Vikram Chhibber wrote:
Reply all
Reply to author
Forward
0 new messages