Enhance the kuma RetryPolicy with few more options which envoy supports already #4494
Labels
kind/feature
New feature
triage/accepted
The issue was reviewed and is complete enough to start working on it
Description
Source code:
https://github.com/kumahq/kuma/blob/master/pkg/xds/envoy/listeners/v3/retry_configurer.go#L18
The code above sets the RetryPolicy field retry_on as
connect-failure,refused-stream,retriable-status-codes
These values however don't include retrying for a socket timeout or a closed connection. We have encountered such failures in our integration testing and we think a retry would have helped.
As per our analysis, if Kuma supports either of the following retry_on values to be propagated to the underlying envoy configuration, it should solve our purpose.
OR
Envoy configuration options for retry_on:
https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on
The text was updated successfully, but these errors were encountered: