Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubelet: Do not mutate pods in the pod manager
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.
- Loading branch information