Files
kubernetes/pkg
Yu-Ju Hong 2bf0646c76 Kubelet: do not remove directories of terminated pods
We recently changed `SyncPods` to filter out terminated pods at the beginning
for two reasons:

 * performance: kubelet no longer keeps goroutines to checks containers for
   terminated pods.
 * correctness: kubelet relies on inspecting dead containers to generate
   pod status. Because dead containers may get garbage collected and
   kubelet does not have checkpoints yet, syncing terminated pod could
   lead to modifying the status of a terminated pod.

However, even though kubelet should not *sync* the terminated pods, it
should not attempt to remove the directories and volumes for such
pods as long as they have not been deleted. This change fixes aggresive
directory removal by passing all pods (including terminated pods) to the
cleanup functions.
2015-05-18 13:23:49 -07:00
..
2015-05-11 17:18:06 -04:00
2015-05-18 10:44:29 +08:00
2015-05-11 17:18:05 -04:00
2015-05-15 15:11:18 +02:00
2015-05-10 13:18:26 +09:00
2015-05-14 21:16:36 -07:00
2015-05-11 21:43:34 -07:00