Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it so Succeeded pods are not deleted immediately (#3878)
Once a pod has succeeded, we will delete it is older than MinimumPodAge The issue with this is that we start the "timer" when the last container started, so any pod that runs for longer than MinimumPodAge will be deleted immediately on completing Now we will start the "timer" based on the time it became terminated, so it will stick for a minimum of MinimumPodAge duration after it finishes Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com> Co-authored-by: Mustafa Ilyas <MustafaI@users.noreply.github.com>
- Loading branch information