-
Notifications
You must be signed in to change notification settings - Fork 40k
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
CRI-API - Add rootfs size to WindowsContainerResources #108894
CRI-API - Add rootfs size to WindowsContainerResources #108894
Conversation
/assign @dcantah |
/retest |
cc @kevpar. Does this seem sound to you? This seems like a much needed addition to me |
b19b497
to
3bb6f76
Compare
/triage accepted |
Only question I have is if this will be per container as the change in the proto is or if its per sandbox. Do we need both? |
I'd like it to be per-container. |
I'd prefer to have this be per container if possible.. I think that's the main advantage for this if its on the spec itself |
/retest |
/uncc |
/lgtm |
Curious why the other _bytes fields are int64's, but that seems to be the convention |
I had the same question... |
/test pull-kubernetes-integration |
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
3bb6f76
to
04d85fb
Compare
/test pull-kubernetes-integration |
/test pull-kubernetes-integration |
/lgtm |
/assign @sjenning @murnalp |
@marosset: GitHub didn't allow me to assign the following users: murnalp. Note that only kubernetes members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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. |
/assign @mrunalp |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: marosset, mrunalp 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 |
Signed-off-by: Mark Rossetti marosset@microsoft.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds a new field to
WindowsContainerResources
CRI-API objects that is used to specify the size of the rootfs/scratch space used for Windows containers.This value defaults to 20Gb on Windows.
This value can also either be specified per container when starting containers with Docker cli with
--storage-opt
and can also be set globally by specifyingstorage-opts
in the docker config.Currently we cannot change this value from the 20Gb default in Kubernetes clusters using containerd as the container runtime.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
This PR only adds the new field to the CRI-API field.
We are doing this so that after 1.24 releases containerd can add support for the new field and hopefully have full support in the 1.7 release.
SIG-Windows will create a KEP in the 1.25 release to cover the Kubernetes related changes to expose this new value in the pod spec.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
More information on how the rootfs / scratch space for Windows containers can be found at https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-storage
/sig windows
/sig node
/milestone v1.24