[release/1.5] cherry pick #5569 to release 1.5 - Fix cleanup context of teardownPodNetwork#5593
Conversation
|
Hi @tnqn. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
Build succeeded.
|
|
This PR will need to rebase on #5594 once we cherry pick it to |
|
Sure, will do. |
Similar to other deferred cleanup operations, teardownPodNetwork should use a different context as the original context may have expired, otherwise CNI wouldn't been invoked, leading to leak of network resources, e.g. IP addresses. Signed-off-by: Quan Tian <[email protected]> (cherry picked from commit 728743e)
|
@estesp rebased, thanks. |
|
Build succeeded.
|
|
/ok-to-test |
|
/retest |
Similar to other deferred cleanup operations, teardownPodNetwork should
use a different context as the original context may have expired,
otherwise CNI wouldn't been invoked, leading to leak of network
resources, e.g. IP addresses.
Signed-off-by: Quan Tian [email protected]
(cherry picked from commit 728743e)
Cherry pick of #5569