envoyproxy/envoy

Enable dynamic configuration for "xds-grpc" cluster

Open

#10,059 建立於 2020年2月14日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)C++ (5,373 fork)batch import
area/xdsdesign proposalhelp wanted

倉庫指標

Star
 (27,997 star)
PR 合併指標
 (平均合併 8天) (30 天內合併 378 個 PR)

描述

Description: In Envoy with Istio scenario, the back end xDS server Pilot is configured through "envoy_bootstrap_v2.json" like this:

{
        "name": "xds-grpc",
        "type": "STATIC",
        "dns_lookup_family": "V4_ONLY",
        "connect_timeout": "{{ .connect_timeout }}",
        "lb_policy": "RANDOM",
        ...
        "hosts": {{ .pilot_grpc_address_group }},
        ...
}

However, this is a static address and can't not be changed any longer. If we want to migrate the Pilot address to another, the Envoy has to reboot to reload the new Pilot address. I'm wandering if there is any way to dynamically change this address. Maybe by enabling configure file watching and reloading is a good practice.

貢獻者指南