Files
kubernetes/pkg
Yu-Ju Hong fd34441d2d Kubelet: persist restart count of a container
Currently, restart count are generated by examine dead docker containers, which
are subject to background garbage collection. Therefore, the restart count is
capped at 5 and can decrement if GC happens.

This change leverages the container statuses recorded in the pod status as a
reference point. If a container finished after the last observation, restart
count is incremented on top of the last observed count. If container is created
after last observation, but GC'd before the current observation time, kubelet
would not be aware of the existence of such a container, and would not increase
the restart count accordingly. However, the chance of this should be low, given
that pod statuses are reported frequently. Also, the restart cound would still
be increasing monotonically (with the exception of container insepct error).
2015-04-14 15:06:42 -07:00
..
2015-02-19 22:25:52 -08:00
2015-04-02 11:13:20 -04:00
2015-04-10 16:02:51 -07:00
2015-03-19 19:49:44 -04:00
2015-02-20 08:49:12 -08:00
2015-04-10 13:25:44 -07:00
2015-03-30 19:28:11 -07:00
2015-04-10 09:38:12 -07:00
2015-04-13 14:08:50 -07:00