Envoy Configuration¶
Flightpath can configure Envoy Upstream Cluster and Route definition using the service metadata attribute. Following metadata attributes can be set on consul service:
Cluster Configuration¶
flightpath-cluster-conn_timeout
-
Integer
Default:10 seconds
Used to set theconnect_timeout
attribute on Cluster configuration. flightpath-cluster-per_conn_buf_limit_bytes
-
Integer
Default:32768
Used to set theper_connection_buffer_limit_bytes
attribute on Cluster configuration. flightpath-cluster-max_req_per_conn
-
Integer
Default:10,000
Used to set themax_requests_per_connection
attribute on Cluster configuration. flightpath-cluster-tcp_keepalive_probes
-
Integer
Default:9
Used to configureupstream_connection_options.tcp_keepalive.keepalive_probes
attribute on Cluster flightpath-cluster-tcp_keepalive_time
-
Integer
Default:300 Seconds
Used to configureupstream_connection_options.tcp_keepalive.keepalive_time
attribute on Cluster flightpath-cluster-tcp_keepalive_interval
-
Integer
Default:90 Seconds
Used to configureupstream_connection_options.tcp_keepalive.keepalive_interval
attribute on Cluster flightpath-retry-on
-
String
Default:""
Used to configureretry_on
attribute on route's RetryPolicyValid policies are
5xx
,gateway-error
,reset
,connect-failure
,retriable-4xx
,refused-stream
,retriable-status-codes
, andretriable-headers
.
Multiple policies can be specified by using a,
(comma) delimited list. flightpath-retry-attempts
-
Integer
Default:3
Used to configurenum_retries
attribute on route's RetryPolicyThis setting is ignored if
flightpath-retry-on
is not set. flightpath-retry-per_try_timeout
-
Integer
Default:5
Used to configureper_try_timeout
attribute on route's RetryPolicyThis setting is ignored if
flightpath-retry-on
is not set. flightpath-retry-backoff_base_interval
-
Integer
Default:1
Used to configureretry_back_off.base_interval
attribute on route's RetryPolicyThis setting is ignored if
flightpath-retry-on
is not set. flightpath-retry-backoff_max_interval
-
Integer
Default:6
Used to configureretry_back_off.max_interval
attribute on route's RetryPolicyThis setting is ignored if
flightpath-retry-on
is not set.