|
|
|
@ -15,6 +15,7 @@ import "google/protobuf/struct.proto"; |
|
|
|
|
import "google/protobuf/wrappers.proto"; |
|
|
|
|
|
|
|
|
|
import "validate/validate.proto"; |
|
|
|
|
import "gogoproto/gogo.proto"; |
|
|
|
|
|
|
|
|
|
// [#protodoc-title: Clusters and CDS] |
|
|
|
|
|
|
|
|
@ -85,7 +86,11 @@ message Cluster { |
|
|
|
|
EdsClusterConfig eds_cluster_config = 3; |
|
|
|
|
|
|
|
|
|
// The timeout for new network connections to hosts in the cluster. |
|
|
|
|
google.protobuf.Duration connect_timeout = 4 [(validate.rules).duration.gt = {}]; |
|
|
|
|
google.protobuf.Duration connect_timeout = 4 [ |
|
|
|
|
(validate.rules).duration.gt = {}, |
|
|
|
|
(gogoproto.stdduration) = true, |
|
|
|
|
(gogoproto.nullable) = false |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
// Soft limit on size of the cluster’s connections read and write buffers. If |
|
|
|
|
// unspecified, an implementation defined default is applied (1MiB). |
|
|
|
@ -178,7 +183,8 @@ message Cluster { |
|
|
|
|
// :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>` |
|
|
|
|
// and :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>` |
|
|
|
|
// this setting is ignored. |
|
|
|
|
google.protobuf.Duration dns_refresh_rate = 16 [(validate.rules).duration.gt = {}]; |
|
|
|
|
google.protobuf.Duration dns_refresh_rate = 16 |
|
|
|
|
[(validate.rules).duration.gt = {}, (gogoproto.stdduration) = true]; |
|
|
|
|
|
|
|
|
|
// When V4_ONLY is selected, the DNS resolver will only perform a lookup for |
|
|
|
|
// addresses in the IPv4 family. If V6_ONLY is selected, the DNS resolver will |
|
|
|
@ -296,7 +302,8 @@ message Cluster { |
|
|
|
|
// value defaults to 5000ms. For cluster types other than |
|
|
|
|
// :ref:`ORIGINAL_DST<envoy_api_enum_value_Cluster.DiscoveryType.ORIGINAL_DST>` |
|
|
|
|
// this setting is ignored. |
|
|
|
|
google.protobuf.Duration cleanup_interval = 20 [(validate.rules).duration.gt = {}]; |
|
|
|
|
google.protobuf.Duration cleanup_interval = 20 |
|
|
|
|
[(validate.rules).duration.gt = {}, (gogoproto.stdduration) = true]; |
|
|
|
|
|
|
|
|
|
// Optional configuration used to bind newly established upstream connections. |
|
|
|
|
// This overrides any bind_config specified in the bootstrap proto. |
|
|
|
|