k3s/pkg/kubelet/images
Kubernetes Submit Queue 07e4939b66
Merge pull request #57020 from dixudx/imagegc_ignore_inuse
Automatic merge from submit-queue (batch tested with PRs 57823, 58091, 58093, 58096, 57020). 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>.

ignore images in used by running containers when GC

**What this PR does / why we need it**:
Let kubelet not attempt to remove images being used by running containers.

**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 #57006

**Special notes for your reviewer**:
@kubernetes/sig-node-pr-reviews 

**Release note**:

```release-note
ignore images in used by running containers when GC
```
2018-01-10 12:37:48 -08:00
..
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
doc.go
helpers.go run hack/update-all 2017-06-22 11:31:03 -07:00
image_gc_manager.go ignore images in used by running containers when GC 2017-12-11 15:20:55 +08:00
image_gc_manager_test.go ignore images in used by running containers when GC 2017-12-11 15:20:55 +08:00
image_manager.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
image_manager_test.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
puller.go run hack/update-all 2017-06-22 11:31:03 -07:00
types.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00