Skip to content

Commit

Permalink
config: hints for using v4 dns to avoid 503 (#2478)
Browse files Browse the repository at this point in the history
Signed-off-by: Yingyu Cheng <[email protected]>
  • Loading branch information
winguse committed Feb 1, 2018
1 parent eaa6696 commit 75bd71d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configs/google_com_proxy.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ static_resources:
- name: service_google
connect_timeout: 0.25s
type: LOGICAL_DNS
# uncomment the following line if your environment don't have v6 network
# or envoy may try to talk to v6 endpoint and you will get 503 error
# dns_lookup_family: V4_ONLY
lb_policy: ROUND_ROBIN
hosts: [{ socket_address: { address: google.com, port_value: 443 }}]
tls_context: { sni: www.google.com }

0 comments on commit 75bd71d

Please sign in to comment.