-
Notifications
You must be signed in to change notification settings - Fork 259
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
Remove pause containers for process isolated containers #1973
base: main
Are you sure you want to change the base?
Conversation
This seems like it will break port forwarding in containerd, as it depends on execing wincat in the pause container (code). Is there a plan for addressing that? |
yes I already have changes for the same. Waiting to complete the k8s e2e local testing with the supported HNS version. Plan to send out the PR for this early next week |
266a53c
to
9f35c91
Compare
9f35c91
to
84f53f2
Compare
port forwarding for windows was checked in yesterday containerd/containerd@b97ef91 . We should now be good to remove pause containers when supported. |
84f53f2
to
6e28691
Compare
This commit does the following: - Introduces new HostComputeNamespace.ReadyOnCreate field and set it for HNS versions that support pause container removal - Remove pause container creation while creating process isolated pods for HNS versions that support pause container creation Signed-off-by: Kirtana Ashok <[email protected]>
6e28691
to
a527acc
Compare
Is the assumption that the shim version with this change will only be used with a containerd version that also supports pause container removal? Is that something we can rely on? If not, do we need some way to configure that pause containers should/shouldn't be used? |
We should have someone from Sravanth's team review for the |
I think Sravanth has already taken a look at these changes. @sbangari can you confirm please? Thanks! |
On upstream, containerd/2.0 (currently the main branch) is the only one that will support pause container removal as port forwarding feature changes cannot be backported to release branches. Once this PR is merged, we should cherry-pick to hcsshim/release/0.12 branch and vendor in the changes to containerd/main. |
PR does the following:
The changes have been manually tested with the supported HNS versions.