-
Notifications
You must be signed in to change notification settings - Fork 39.4k
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 priority flag to kube-proxy on Windows hosts #96935
Comments
/sig network |
@sbangari, FYI |
Why is this in kube-proxy and not whatever starts kube-proxy? I'd prefer NOT to add flags if we can avoid it... |
/assign |
re flag vs config -- The important thing is that we bump the priority, luckily its easy enough to do, via the golang windows library in the PR... , bc kube-proxy running at low-priority on windows causes alot of problems.... wether done by a flag or not is probably less of a big deal, right @ravisantoshgudimetla Is there a reasonable default we can use, if its |
@thockin There are a few different ways to start processes with non-normal priority but all have some drawbacks (mostly due to how priority can only be set on running processes in Windows)
I think that adding an extra flag would be the solution that is the most re-usable across all of the different solutions already out there for setting up the nodes. @jayunit100 / @ravisantoshgudimetla I'm asking some folks in the Windows container platform team if they think using AboveNormal or High would be the best priority class to recommend. |
/milestone v1.21 |
TLDR: kube-proxy See kubernetes/enhancements#2158 if interested in the specifics, but some history -- it looks like the flags in kube-proxy are largely "appendages of the past" |
Setting this via the config map API would be fine - I think the important detail is to have the kube-proxy process set its own process priority. I don't have a preference on how kube-proxy is instructed to do so. |
@marosset - Thank you for elaborating on why the kube-proxy process has to set it owns priority. I just want to add one more point related to having external entity set the priority, as community we need to give specification on how to set priority of the kube-proxy and kubelet if we're relying on external entities to do so.
I believe you're referring to recommending in the docs.
+1 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Hi 👋 Bug Triage here, code freeze is tomorrow! This issue hasn't been updated in a while and has been marked for 1.21 milestone, is there a plan to continue working on this @immuzz |
/milestone clear |
/area kube-proxy |
/help |
@LappleApple: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
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. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
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. |
/reopen This is still required. |
@aravindhp: Reopened this issue. In response to this:
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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
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. |
What would you like to be added:
Add priority flag to kube-proxy so that end-user can specify priority
Why is this needed:
On Windows hosts, there is a chance that the kube-proxy process won't get enough CPU cycles because of the default priority set for the Windows process.
xref: #95735 (comment)
Additional context:
xref: #95735
cc @marosset @jsturtevant @JocelynBerrendonner @aravindhp
Let me know if you guys are fine with it. I can create a PR for the same.
The text was updated successfully, but these errors were encountered: