-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
listener: support keepalive configuration #38467
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Ronak Jain <[email protected]>
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: Ronak Jain <[email protected]>
9fb64d8
to
e5edbba
Compare
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.
High-level comment:
prior to additional-addresses, the listener to address 1-1 mapping introduced some address related config knobs in the listener.
I think that in order to ensure that a coherent config design is used, the fields in the listener level will impact all the addresses (both the primary and additional), and the additional address will be able to override the config (just as being done for socket options).
I also think that it would be better to have a common-address-options (similar to UpstreamConnectionOptions) that can be used to optionally override these values.
/wait |
Signed-off-by: Ronak Jain <[email protected]>
Thanks for the comments @adisuissa
Updated the PR to use apply keepalive configuration across all the additional addresses and ability override/disable keepalive at each additional address level.
Happy to update the PR to use common address options, am I understanding the definition correctly?
What about |
Commit Message: This change introduces the ability to configure TCP keepalive settings on additional listener addresses. Currently users have to set the corresponding socket options directly and with this change users can enable TCP keepalive for both primary and additional addresses via the listener configuration similar to the cluster configuration.
Additional Description: Configuration example:
Risk Level: low
Testing: unit and integration
Docs Changes: NA
Release Notes: NA