-
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
Add windows config to Kubelet CRI #57076
Conversation
@feiskyer: GitHub didn't allow me to request PR reviews from the following users: taylorb-microsoft, JiangtianLi. Note that only kubernetes members can review this PR, and authors cannot review their own PRs. 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. |
/retest |
This LGTM, but do we want SIG-Node to sign off on the API changes? @kubernetes/sig-node-api-reviews |
@brendandburns Yep, of course. @JiangtianLi is preparing a proposal and will present it on next sig-node meeting. |
I drafted the proposal here: kubernetes/community#1510. |
/hold |
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
Since windows pod-level resource management is not decided yet, I think we could add container resources first and address pod-level in another PRs. This PR only adds WindowsContainerResources to CRI. |
ping @yujuhong @brendandburns Could you help to take a look at this? |
As I said, this looks fine to me, but I'd like an ack from @dchen1107 or @yujuhong |
Ack. Reviewing kubernetes/community#1510. Will review this PR once questions are resolved over there. |
ACK, and will review kubernetes/community#1510 first. |
75c1f36
to
997b33e
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dchen1107, feiskyer The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 59097, 57076, 59295). If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
Currently Container Runtime Interface (CRI) only supports LinuxContainerConfig and therefore LinuxContainerResources in ContainerConfig. Windows resource config is different from Linux's, although it shares some common properties.
This PR adds windows config to CRI. Add newly added WindowsContainerResources is original from OCI spec (see https://github.com/opencontainers/runtime-spec/blob/master/specs-go/config.go#L437).
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):First part of #56734. A further PR is needed to fill the values after we have agreement on the spec.
Special notes for your reviewer:
Release note:
/assign @yujuhong @brendandburns
/cc @taylorb-microsoft @JiangtianLi @dchen1107