-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
✨ Add ListenerConfig for metrics server options #2519
Conversation
Add ListenerConfig for metrics
Welcome @tomelliot16! |
Hi @tomelliot16. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
This should work if SecureServing=true with the feedback presented as well as guarding against the options if they do not exist.
/hold |
/ok-to-test |
@vincepri Any idea if this can be approved and merged? Is it missing anything? edit: NVM I just read the above will assign the correct person. |
/assign sbueringer |
@sbueringer Did I miss anything in the process or anything I can do to help? |
Any update here? |
@tomelliot16 Do you have time to address the remaining finding? (if it gets fixed quickly we can include it into v0.17) |
@sbueringer just saw this going to address comments. |
@sbueringer I returned the error but didn't know if we wanted to make a special error wrapping with some context. |
It's fine as is. One last nit |
/ok-to-test |
Co-authored-by: Stefan Büringer <4662360+sbueringer@users.noreply.github.com>
/lgtm |
Thx! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer, tomelliot16 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@sbueringer this was slated for v0.17, did we want to cherry pick to that? |
Good catch. No strong opinion from my side either way. I mostly flagged it for v0.17 because at some point I thought it will make it into the release and I wanted to track it as part of the milestone (flagged this PR now as v0.18 as this PR won't make it there, cherry-pick PR would then be flagged as v0.17) |
The reason for this change is having the ability to set a custom ListenConfig on the metric server listener.
The reason I need (my company needs) it is that it will allow us to set unix.SO_REUSEPORT flag which works around an edge case when a port is ever leaked and you are using the host network for your controller.