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
Automated cherry pick of #96051: Allow priority to be set for kubelet process on Windows hosts #96158
Conversation
Looks like the bazel builds need to be regenerated for this CP. |
bacf7ec
to
c6c3499
Compare
c6c3499
to
00e64e1
Compare
return fmt.Errorf("unknown priority class %s, valid ones are available at "+ | ||
"https://docs.microsoft.com/en-us/windows/win32/procthread/scheduling-priorities", windowsPriorityClass) | ||
} | ||
kubeletProcessHandle, err := windows.GetCurrentProcess() |
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.
I had to use GetCurrentProcess()
as CurrentProcess()
is not available
/lgtm |
/lgtm cancel |
why are we backporting features? |
see #96157 (comment) /approve |
@kubernetes/release-managers for cherrypick approvals |
1 similar comment
@kubernetes/release-managers for cherrypick approvals |
/triage accepted from parent PR |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, derekwaynecarr, ravisantoshgudimetla 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 |
/triage accepted from parent PR |
Cherry pick of #96051 on release-1.18.
#96051: Allow priority to be set for kubelet process on
For details on the cherry pick process, see the cherry pick requests page.
What type of PR is this?
/kind feature
What this PR does / why we need it:
Introduce
windows-priorityclass
flag to set priority for the kubelet running on Windows nodesWhich issue(s) this PR fixes:
Automated cherry pick of #96051
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig windows
cc @marosset @jsturtevant @derekwaynecarr