@ -31,7 +31,7 @@ service ClusterDiscoveryService {
/ / connections.
message UpstreamBindConfig {
/ / The address Envoy should bind to when establishing upstream connections.
Resolved Address source_address = 1 ;
Address source_address = 1 ;
}
/ / Circuit breaking settings can be specified individually for each defined
@ -101,42 +101,39 @@ message Cluster {
}
LbPolicy lb_policy = 6 ;
/ / If the service discovery type is static , static_hosts is required . If the
/ / service discovery type is strict_dns or logical_dns , dns_hosts is required .
oneof hosts_specifier {
ResolvedAddresses static_hosts = 7 ;
UnresolvedAddresses dns_hosts = 8 ;
}
/ / If the service discovery type is static , strict_dns or logical_dns , then
/ / hosts is required .
repeated Address hosts = 7 ;
/ / Optional active health checking configuration for the cluster. If no
/ / configuration is specified no health checking will be done and all cluster
/ / members will be considered healthy at all times.
repeated HealthCheck health_checks = 9 ;
repeated HealthCheck health_checks = 8 ;
/ / Optional maximum requests for a single upstream connection. This parameter
/ / is respected by both the HTTP / 1.1 and HTTP / 2 connection pool
/ / implementations. If not specified , there is no limit. Setting this
/ / parameter to 1 will effectively disable keep alive.
google.protobuf.UInt32Value max_requests_per_connection = 10 ;
google.protobuf.UInt32Value max_requests_per_connection = 9 ;
/ / Optional circuit breaking settings for the cluster.
CircuitBreakers circuit_breakers = 11 ;
CircuitBreakers circuit_breakers = 10 ;
/ / The TLS configuration for connections to the upstream cluster. If no TLS
/ / configuration is specified , TLS will not be used for new connections.
UpstreamTlsContext tls_context = 12 ;
UpstreamTlsContext tls_context = 11 ;
oneof protocol_options {
TcpProtocolOptions tcp_protocol_options = 13 ;
Http1ProtocolOptions http_protocol_options = 14 ;
TcpProtocolOptions tcp_protocol_options = 12 ;
Http1ProtocolOptions http_protocol_options = 13 ;
/ / Even if default HTTP2 protocol options are desired , this field must be
/ / set so that Envoy will assume that the upstream supports HTTP / 2 when
/ / making new HTTP connection pool connections. Currently , Envoy only
/ / supports prior knowledge for upstream connections. Even if TLS is used
/ / with ALPN , http2 must be specified. As an aside this allows HTTP / 2
/ / connections to happen over plain text.
Http2ProtocolOptions http2_protocol_options = 15 ;
GrpcProtocolOptions grpc_protocol_options = 16 ;
Http2ProtocolOptions http2_protocol_options = 14 ;
GrpcProtocolOptions grpc_protocol_options = 15 ;
}
/ / If the dns refresh rate is specified and the cluster type is either
@ -144,7 +141,7 @@ message Cluster {
/ / rate. If this setting is not specified , the value defaults to 5000. For
/ / cluster types other than strict_dns and logical_dns this setting is
/ / ignored.
google.protobuf.Duration dns_refresh_rate = 17 ;
google.protobuf.Duration dns_refresh_rate = 16 ;
/ / The DNS IP address resolution policy. The options are v4_only , v6_only , and
/ / auto. If this setting is not specified , the value defaults to v4_only. When
@ -160,14 +157,14 @@ message Cluster {
V4_ONLY = 1 ;
V6_ONLY = 2 ;
}
DnsLookupFamily dns_lookup_family = 18 ;
DnsLookupFamily dns_lookup_family = 17 ;
/ / If DNS resolvers are specified and the cluster type is either strict_dns ,
/ / or logical_dns , this value is used to specify the cluster ’ s dns resolvers.
/ / If this setting is not specified , the value defaults to the default
/ / resolver , which uses / etc / resolv.conf for configuration. For cluster types
/ / other than strict_dns and logical_dns this setting is ignored.
ResolvedAddresses dns_resolvers = 19 ;
repeated Address dns_resolvers = 18 ;
/ / If specified , outlier detection will be enabled for this upstream cluster.
message OutlierDetection {
@ -213,7 +210,7 @@ message Cluster {
/ / be 1900. Defaults to 1900.
google.protobuf.UInt32Value success_rate_stdev_factor = 9 ;
}
OutlierDetection outlier_detection = 20 ;
OutlierDetection outlier_detection = 19 ;
/ / The interval for removing stale hosts from a cluster type
/ / original_dst. Hosts are considered stale if they have not been used
@ -226,8 +223,8 @@ message Cluster {
/ / on opening new connections. If this setting is not specified , the
/ / value defaults to 5000 ms. For cluster types other than original_dst
/ / this setting is ignored.
google.protobuf.Duration cleanup_interval = 21 ;
google.protobuf.Duration cleanup_interval = 20 ;
/ / Optional configuration used to bind newly established upstream connections.
UpstreamBindConfig upstream_bind_config = 22 ;
UpstreamBindConfig upstream_bind_config = 21 ;
}