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_timeoutattribute on Cluster configuration.
- flightpath-cluster-per_conn_buf_limit_bytes
- 
Integer 
 Default:32768
 Used to set theper_connection_buffer_limit_bytesattribute on Cluster configuration.
- flightpath-cluster-max_req_per_conn
- 
Integer 
 Default:10,000
 Used to set themax_requests_per_connectionattribute on Cluster configuration.
- flightpath-cluster-tcp_keepalive_probes
- 
Integer 
 Default:9Used to configureupstream_connection_options.tcp_keepalive.keepalive_probesattribute on Cluster
- flightpath-cluster-tcp_keepalive_time
- 
Integer 
 Default:300 SecondsUsed to configureupstream_connection_options.tcp_keepalive.keepalive_timeattribute on Cluster
- flightpath-cluster-tcp_keepalive_interval
- 
Integer 
 Default:90 SecondsUsed to configureupstream_connection_options.tcp_keepalive.keepalive_intervalattribute on Cluster
- flightpath-retry-on
- 
String 
 Default:""Used to configureretry_onattribute 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_retriesattribute on route's RetryPolicyThis setting is ignored if flightpath-retry-onis not set.
- flightpath-retry-per_try_timeout
- 
Integer 
 Default:5
 Used to configureper_try_timeoutattribute on route's RetryPolicyThis setting is ignored if flightpath-retry-onis not set.
- flightpath-retry-backoff_base_interval
- 
Integer 
 Default:1
 Used to configureretry_back_off.base_intervalattribute on route's RetryPolicyThis setting is ignored if flightpath-retry-onis not set.
- flightpath-retry-backoff_max_interval
- 
Integer 
 Default:6
 Used to configureretry_back_off.max_intervalattribute on route's RetryPolicyThis setting is ignored if flightpath-retry-onis not set.