Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kubelet: stop logging "Error on reading termination-log..." messages
If a pod was deleted and the associated volumes/directory were removed, there could be a window where the pod worker is still active. If the pod worker tries to inspect the logs, such an error would be logged. Since the pod has been deleted, such error messages are meaningless. This change stops logging this error, but stores the error string in the pod status. The pod status will be updated for pods that are still alive, and will be discarded eventually for deleted pods.
- Loading branch information