Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

feat: add ScaleCPULimitsToSandbox for hyperv runtimeclasses #3889

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

marosset
Copy link
Contributor

@marosset marosset commented Oct 2, 2020

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?

  • No
  • Yes

If "Yes," did you notify that project's maintainers and provide attribution?

  • No
  • Yes

Requirements:

Notes:

@codecov
Copy link

codecov bot commented Oct 2, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@409280e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3889   +/-   ##
=========================================
  Coverage          ?   72.83%           
=========================================
  Files             ?      149           
  Lines             ?    23203           
  Branches          ?        0           
=========================================
  Hits              ?    16900           
  Misses            ?     5182           
  Partials          ?     1121           
Impacted Files Coverage Δ
pkg/engine/templates_generated.go 48.65% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 409280e...14e9784. Read the comment docs.

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@acs-bot acs-bot added the lgtm label Oct 2, 2020
@jackfrancis jackfrancis merged commit 988ae37 into Azure:master Oct 2, 2020
@acs-bot
Copy link

acs-bot commented Oct 2, 2020

[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:
  • OWNERS [jackfrancis,marosset]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request Oct 10, 2020
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request Oct 23, 2020
AbelHu added a commit that referenced this pull request Oct 23, 2020
* feat: add ScaleCPULimitsToSandbox for hyperv runtimeclasses (#3889)

* feat: Set default container runtime variables for AKS Windows 2004

Co-authored-by: Mark Rossetti <[email protected]>
penggu pushed a commit to penggu/aks-engine that referenced this pull request Oct 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants