-
Notifications
You must be signed in to change notification settings - Fork 521
feat: add ScaleCPULimitsToSandbox for hyperv runtimeclasses #3889
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3889 +/- ##
=========================================
Coverage ? 72.83%
=========================================
Files ? 149
Lines ? 23203
Branches ? 0
=========================================
Hits ? 16900
Misses ? 5182
Partials ? 1121
Continue to review full report at Codecov.
|
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: jackfrancis, marosset 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 |
* feat: add ScaleCPULimitsToSandbox for hyperv runtimeclasses (#3889) * feat: Set default container runtime variables for AKS Windows 2004 Co-authored-by: Mark Rossetti <[email protected]>
Reason for Change:
On Windows kubelet computes CPU shares based on number of CPUs available on the host and passes that to the container runtime. When using Hyper-V isolated VMs the UVM the containers run in may have a different number of CPUs. Adding this flag instructs containerd to inspect the host and UVM CPU count and scale CPU limit values appropriately.
Issue Fixed:
Credit Where Due:
Does this change contain code from or inspired by another project?
If "Yes," did you notify that project's maintainers and provide attribution?
Requirements:
Notes: