-
Notifications
You must be signed in to change notification settings - Fork 520
enhancement: support setting the timeout of ext_auth and ext_proc #11295
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
base: main
Are you sure you want to change the base?
Changes from 9 commits
61062b6
b51e36d
cf6b8a9
1d40c13
aba0330
c95d7fb
2c73e5b
0a17ba0
1a01935
d030c5d
bf5d3ec
d38ec3c
006b560
9a82fc0
4157bc3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
in line with this comment from @timflannagan
I'm a bit confused as to why we wouldn't the shared
ExtGrpcService
type to haveTimeout
as a field?That way all extensions which can reference an
ExtGrpcService
can configure the timeout if needed.Uh oh!
There was an error while loading. Please reload this page.
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.
Hi @lgadban what should we then set the default value to ?200ms or 20ms, since the rate limit has a diff default and it is referencing same service
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.
Hi @MayorFaj thanks for the reminder, this fell off my radar, apologies for the delay!
My suggestion here is actually to treat this field as completely optional and not provide a default, relying on the default envoy behavior. If a user needs to opt-in and set a timeout, they can do so contextually based on the usage of the
ExtGrpService
i.e. if it's rate limit or extauth.That being said, it's actually not obvious to me if
timeout
is a required field or not.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.
it is optional, not required.