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
gateway-api: Supports the number of trusted loadbalancer hops #30662
Conversation
b216e1b
to
2c7753c
Compare
/test |
/cc @sayboras PTAL. Thanks~ |
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.
The change looks good to me, however, I am not sure if we should use the same flag for both Ingress and Gateway.
Let's see what other reviews say.
6bf53b7
to
0582b72
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.
Thanks for your PR 🙏
A couple of suggestions left inline.
c686fe4
to
22b5b9f
Compare
4d06647
to
43239db
Compare
/test |
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
/test |
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, thanks!
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.
Helm LGTM!
Currently, cilium supports setting
xff_num_trusted_hops
, but it only supports ingress.This PR is to allow GatewayAPI to also set
xff_num_trusted_hops
.In this way, we can set different values for the
xff_num_trusted_hops
of ingress and GatewayAPI.Additionally, it seems that Istio already supports this feature.
https://istio.io/latest/docs/ops/configuration/traffic-management/network-topologies/