Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
KEP-1981: WindowsHostProcessContainers beta major changes #3311
KEP-1981: WindowsHostProcessContainers beta major changes #3311
Changes from 3 commits
5100542
15a5fad
4a91fce
832a60d
857ba88
8583950
bd862b0
a8a3282
82ed23d
2f4e0f4
69d9d92
9e4e00b
000ea94
eeb8ce0
529fcf0
71a0a95
16fecea
9afbffd
5d22c71
603d6c2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Can you summarize the differences here and how maintaining backwards compatibility is planned? I know it's detailed in the links below, but I think it would be good to state it here.
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.
Yes, I will summarize the differences and also explain the backwards compatibility.
For backwards compatibility there is an annotation you can set for the pod that will use the old or the new behavior.
This must be set during pod sandbox creation and will apply to all containers in the pod.
If the new behavior is requested and the required APIs are not present on the machine (for Windows Server 2019) CreatePodSandbox CRI call will fail.
If the annotation is not set you'll get the new behavior is the required APIs are available and or the old behavior if they are not.
Note: The APIs will be available for Windows Server 2019 in July 2022 and have been present in Windows Server 2022 since launch.
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.
@msau42 I made some updates to address your comments PTAL and thanks!
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.
since bind mount is not yet released in containerd 1.7, do we even have the ability to add tests for this yet?
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.
Yes we do.
We have a github action that runs every night that builds containerd and hcsshim from
main
and publishes the package to https://github.com/kubernetes-sigs/sig-windows-tools/releases/tag/windows-containerd-nightly.This package already has the changes to use the new
bind
mount behavior (if running on Windows Server 2022 for now, it will work on Windows Server 2019 in a few weeks).We use this package in https://testgrid.k8s.io/sig-windows-signal#capz-windows-containerd-nightly-master (and a few others).
My plans were to update the e2e tests to check for the contaienrd version being used on the nodes and add skips to the e2e tests that require a different version of containerd.