-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubelet: Add image cache. #38375
Kubelet: Add image cache. #38375
Conversation
c0128cc
to
bde67b8
Compare
Jenkins unit/integration failed for commit bde67b8. Full PR test history. The magic incantation to run this job again is |
nit: link to the issue #38373. Jenkins unit/integration test is failed, forgotten to update the related tests? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, the unit tests needs fixing.
@@ -142,16 +167,23 @@ func (im *realImageGCManager) Start() error { | |||
} | |||
}, 5*time.Minute, wait.NeverStop) | |||
|
|||
// Start a goroutine periodically updates image cache. | |||
// TODO(random-liu): Merge this with the previous loop. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we can easily merge the two loops. Not sure what this TODO is meant for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
detectImages
also list image, in fact we can image list there. However, it doesn't list images as frequently as we need, so I add a TODO here to consider this later if needed. :)
cc @derekwaynecarr @smarterclayton for OpenShift backport consideration |
bde67b8
to
816f867
Compare
@yujuhong Fixed the unit test. |
Automatic merge from submit-queue (batch tested with PRs 36419, 38330, 37718, 38244, 38375) |
Yes to backport in Kube 1.4 and openshift I think. Status hangs are bad |
…8375-upstream-release-1.4 Automated cherry pick of #38375
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
Fixes #38373.
This should be patched into 1.5.1 to solve the customer issue.
@yujuhong
/cc @kubernetes/sig-node