Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

image gc: don't remove images that currently running pods were made from #3549

Merged
merged 1 commit into from
Jan 20, 2017

Conversation

cgonyeo
Copy link
Member

@cgonyeo cgonyeo commented Jan 19, 2017

This commit changes the behavior of rkt image gc to pass over any
images from which currently running pods were created from, regardless
of how long ago the image was last used.

Fixes #3385

This commit changes the behavior of `rkt image gc` to pass over any
images from which currently running pods were created from, regardless
of how long ago the image was last used.
@cgonyeo
Copy link
Member Author

cgonyeo commented Jan 19, 2017

One thing I didn't do here is change any of the language around "last used", which I can do if we think it would be better rephrased.

@lucab
Copy link
Member

lucab commented Jan 20, 2017

On the renaming side, what about the proposed "last started"? But i agree it can be deferred, and as it may also touch into JSON output perhaps better to do it after #3551?

Copy link
Member

@lucab lucab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cgonyeo cgonyeo merged commit 34ff175 into rkt:master Jan 20, 2017
@cgonyeo cgonyeo deleted the image-gc-ignore-running branch January 20, 2017 18:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants