Support Centralized Proxy Configuration in service-defaults
#12553
Labels
type/enhancement
Proposed improvement or new feature
service-defaults
#12553
Feature Description
Today you can configure Envoy proxy configuration both within a service instance and in the
proxy-defaults/global
configuration entry. Theprotocol
configuration can also be set within theservice-defaults
configuration entry. Other configurations likelocal_request_timeout_ms
andlocal_connect_timeout_ms
cannot be set here.The feature request is to support setting some of these configurations within the
service-defaults
config entry. However some others such as thebind_address
probably don't make sense to set centrally so its not quite so simple as just merge an extra config source.Use Case(s)
I encountered a gRPC API where the local app could take several minutes to return data for a specific API. I had wanted to set
local_request_timeout_ms
for all instances of the service but it wasn't possible. I had to resort to configuring by modifying all instances of the service.Food for Thought
If an application is configured with a
local_request_timeout_ms
value, would it be a good idea to auto-propagate this timeout to consumers/downstreams of that service. That way we don't have to configure the timeout in 2 different places. Maybe downstreams would want to timeout sooner. In that case they could specify the timeout and this would just be a way to modify the default timeout value.The text was updated successfully, but these errors were encountered: