Remove pause containers for process isolated containers - #1973
Remove pause containers for process isolated containers#1973Kirtana Ashok (kiashok) wants to merge 1 commit into
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. |
|
Kevin Parsons (@kevpar) Amit Barve (@ambarve) could you please take a look when you have some time? Thanks! |
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 <kiashok@microsoft.com>
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.