Uh oh!
There was an error while loading. Please reload this page.
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
Kevin Parsons (kevpar)
commented
Nov 29, 2023
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? |
Kirtana Ashok (kiashok)
commented
Nov 29, 2023
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
9f35c91Compare9f35c91 to
84f53f2CompareKirtana Ashok (kiashok)
commented
Mar 27, 2024
port forwarding for windows was checked in yesterday containerd/containerd@b97ef91 . We should now be good to remove pause containers when supported. |
Kirtana Ashok (kiashok)
commented
Mar 27, 2024
Kevin Parsons (@kevpar)Amit Barve (@ambarve) could you please take a look when you have some time? Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
84f53f2 to
6e28691CompareUh oh!
There was an error while loading. Please reload this page.
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
a527accCompareKevin Parsons (kevpar)
commented
Apr 24, 2024
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? |
Kevin Parsons (kevpar)
commented
Apr 24, 2024
We should have someone from Sravanth's team review for the |
Kirtana Ashok (kiashok)
commented
Apr 24, 2024
I think Sravanth has already taken a look at these changes. sbangari can you confirm please? Thanks! |
Kirtana Ashok (kiashok)
commented
Apr 24, 2024
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.