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
New header "X-Load-Balancing-Endpoint-Weight" returned by service health #27017
Conversation
Commit df8f288a3fcda1cbaab9167ca851360301e4dd2a does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
returned from service health. Value of the header is number of local endpoints. Signed-off-by: Cezary Zawadka <czawadka@google.com>
/label release-note/misc |
@ysksuzuki @joestringer @alan-kut
Who should be able to merge this branch? |
/test |
All tests must pass and all codeowner reviews must be checked off, then typically there's a rotating hat for a committer to sweep through and merge PRs like this. I've kicked off the full testsuite to confirm the other requirement before merge. |
Going to give the tests one more crack, I've seen some weird connectivity shenanigans in the last 24 hours. |
/test |
add new header "X-Load-Balancing-Endpoint-Weight" returned from service health. Value of the header is number of local endpoints. Header can be used in weighted load balancing. Parsing header for number of endpoints is faster than unmarshalling json from the content body, and it can be returned via HTTP HEAD method.
The header has been already added to kube-proxy service health code in kubernetes/kubernetes#118999 (will be released in kubernetes v1.28)