-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Automated cherry pick of #116482: kubelet: Do not mutate pods in the pod manager #117255
Automated cherry pick of #116482: kubelet: Do not mutate pods in the pod manager #117255
Conversation
The pod manager is a cache and modifying objects returned from the pod manager can cause race conditions in the Kubelet. In this case, it causes static pod status from the mirror pod to leak back to the config source, which means a static pod whose mirror pod is set to a terminal phase (succeeded or failed) cannot restart.
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/kind bug |
LGTM label has been added. Git tree hash: 4f0721d20c71b70a165fdcabafec5ec1fe2043f2
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert, smarterclayton 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 |
Cherry pick of #116482 on release-1.26.
#116482: kubelet: Do not mutate pods in the pod manager
For details on the cherry pick process, see the cherry pick requests page.