use Pod.Status.StartTime as pod's cgroup start time in summary API

This commit is contained in:
David Ashpole
2018-12-14 14:26:55 -08:00
parent 59fce36866
commit 70a7fdda02
8 changed files with 81 additions and 13 deletions

View File

@@ -264,7 +264,8 @@ func newTestKubeletWithImageList(
kubelet.resourceAnalyzer,
kubelet.podManager,
kubelet.runtimeCache,
fakeRuntime)
fakeRuntime,
kubelet.statusManager)
fakeImageGCPolicy := images.ImageGCPolicy{
HighThresholdPercent: 90,
LowThresholdPercent: 80,