-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
fixing issue with GetCPUUsageNanoCores on Windows #122999
fixing issue with GetCPUUsageNanoCores on Windows #122999
Conversation
/assign @aravindhp @jsturtevant |
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
LGTM label has been added. Git tree hash: 57afbf7e74f2fddd282887ddda7b62682dbc118f
|
/triage accepted |
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
/assign @mrunalp |
@yujuhong - Can you take a look at this? It is impacting users running K8s v1.27+ |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsturtevant, marosset, yujuhong 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 |
…2999-upstream-release-1.28 Automated cherry pick of #122999: fixing issue with GetCPUUsageNanoCores on Windows
…2999-upstream-release-1.29 Automated cherry pick of #122999: fixing issue with GetCPUUsageNanoCores on Windows
…2999-upstream-release-1.27 Automated cherry pick of #122999: fixing issue with GetCPUUsageNanoCores on Windows
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR fixes some calculations used to determine node CPU usage for Windows
A bug was introduced by b3a67ab when the polling period for fetching current CPU usage was updated from 1 second to 10 seconds and the function GetCPUUsageNanoCores did not account for this
Which issue(s) this PR fixes:
Fixes # #122382
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/area kubelet
/sig windows node
/milestone v1.30