-
Notifications
You must be signed in to change notification settings - Fork 155
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
Prevent container orphans when using apiserver.IsRunningWrapper #6329
Prevent container orphans when using apiserver.IsRunningWrapper #6329
Conversation
/cherrypick release/v2.14 |
@xrstf: once the present PR merges, I will cherry-pick it on top of release/v2.14 in a new PR and assign it to you. In response to this:
Instructions 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. |
/retest |
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.
/retest
/lgtm
/approve
LGTM label has been added. Git tree hash: 833f68e310797d43d9a3a164b19d43b2100d2345
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kron4eg, xrstf The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
1 similar comment
/retest |
/retest Review the full test history Silence the bot with an Also, here is a cat. |
In response to this:
Instructions 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. |
/retest Review the full test history Silence the bot with an Also, here is a cat. |
In response to this:
Instructions 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. |
/retest Review the full test history Silence the bot with an Also, here is a cat. |
In response to this:
Instructions 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. |
/retest Review the full test history Silence the bot with an Also, here is a cat. |
In response to this:
Instructions 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. |
/retest Review the full test history Silence the bot with an Also, here is a cat. |
In response to this:
Instructions 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. |
/retest |
@xrstf: #6329 failed to apply on top of branch "release/v2.14":
In response to this:
Instructions 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. |
…rmatic#6329) * explicitly set initContainers to orphans when using apiserver.IsRunningWrapper * fix download-gocache Make target being phony by accident
What this PR does / why we need it:
When the IsRunningWrapper() function is fiddling with initContainers, we must make sure we only accept and deal with a known state. Otherwise it can happen that old init containers are left behind or copies are never cleaned up.
Which issue(s) this PR fixes:
Fixes #6328
Does this PR introduce a user-facing change?: