-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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
Image garbage collection is always disabled in kubelet in 1.11 #66046
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
Milestone
Comments
yujuhong
added
kind/bug
Categorizes issue or PR as related to a bug.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
labels
Jul 10, 2018
yujuhong
added
the
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
label
Jul 10, 2018
k8s-github-robot
added
milestone/needs-approval
and removed
milestone/incomplete-labels
labels
Jul 10, 2018
[MILESTONENOTIFIER] Milestone Issue: Up-to-date for process Issue Labels
|
BTW, when the threshold is set to 100% (the use case that the PR originally wanted to fix), the code'd try sending to a closed channel and triggers a panic. |
@yujuhong i will check it soon, will submit one patch immediately, thanks |
k8s-github-robot
pushed a commit
that referenced
this issue
Jul 11, 2018
Automatic merge from submit-queue (batch tested with PRs 66051, 66049). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix:Image garbage collection is always disabled in kubelet in 1.11 **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #66046 **Special notes for your reviewer**: @yujuhong @derekwaynecarr **Release note**: ```release-note NONE ```
does this bug applies to v1.11.2 ? or v.1.11.2 includes the fix? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
In the
StartGarbageCollection
function, there is adefer close(stopChan)
that always runs and closes the channel when returning. This means that instead of running periodically, the image garbage collection will be terminated immediately when the function returns.kubernetes/pkg/kubelet/kubelet.go
Lines 1247 to 1253 in 91e7b4f
The bug was introduced by #51423 in 1.11
/cc @derekwaynecarr @jiaxuanzhou @kubernetes/sig-node-bugs @dashpole
The text was updated successfully, but these errors were encountered: