New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to unset "retry_host_predicate" using EnvoyFilter? #50756
Comments
Are you sure, with consistent hash, the retry predicate picks another host that does hash based on the hashing config? If yes, it seems like a bug in Envoy |
I can confirm that Envoy behaves exactly as I describe, but I can't confirm if this is a bug. there're simply 3 httpbin pods when I call but when I call istio ver: 1.11 |
@ramaraochavali Thank you very much for your MR, but before merging, is there any way to solve the "array merge" problem in encoyFilter? |
AFAIK, It is not possible |
Requests routed using the consistency hash lb are retried and the target host is affected by envoy's 'retry_host_predicate', and the target host is different from the initial request, which is not what I expected, so I would like to use EnvoyFilter to unset this configuration, but I found that EnvoyFilter can hardly merge fields of this array type when configuring
original config_dump:
envoyfilter:
new config_dump
You can see that the string type host_selection_retry_max_attempts was successfully set to 1, while the array type retry_host_predicate was not. How should I set it correctly? Or is it some kind of bug?
The text was updated successfully, but these errors were encountered: