-
Notifications
You must be signed in to change notification settings - Fork 153
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
Set the envoy retry policy for external-authz filter #5194
Conversation
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
typed_config: | ||
"@type": type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb | ||
{{- if .Values.cors.enabled }} | ||
- name: envoy.filters.http.cors | ||
typed_config: | ||
"@type": type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors | ||
{{- end }} | ||
- name: envoy.filters.http.grpc_stats | ||
typed_config: | ||
"@type": type.googleapis.com/envoy.extensions.filters.http.grpc_stats.v3.FilterConfig | ||
stats_for_all_methods: true | ||
enable_upstream_stats: true | ||
- name: envoy.filters.http.router | ||
typed_config: | ||
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to set these to bump the envoy version
@@ -25,7 +25,7 @@ spec: | |||
{{- end }} | |||
containers: | |||
- name: envoy | |||
image: envoyproxy/envoy-alpine:{{ .Values.gateway.imageTag }} | |||
image: envoyproxy/envoy:{{ .Values.gateway.imageTag }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
envoy-alpine has stopped updating 2 years ago
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5194 +/- ##
=======================================
Coverage 22.86% 22.86%
=======================================
Files 420 420
Lines 45247 45245 -2
=======================================
Hits 10344 10344
+ Misses 34108 34106 -2
Partials 795 795 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for detailed explanation 🫡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🙆♂️
What this PR does / why we need it:
I saw the envoy access log sometimes records UAEX (UnauthorizedExternalService) errors even if the ext-authz service returns them as OK.
I checked the admin port of the envoy and realized the tx_reset had occurred.
I don't know how to reduce the tx_reset, so I want to try the retry_policy.
When we use the retry_policy, we have to bump the envoy version.
So, I bump the envoy version to the latest, then I configured the retry_policy.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: