Repository navigation
Conversation
|
Skipping CI for Draft Pull Request. |
8fcaccb to
57aaf72
Compare
335bc7b to
b9c4567
Compare
|
Updated the naming and this should be ready for review. Added more information in the description about the design. |
|
This is quite interesting ! It would be nice if I could give a limit with the cached option. Time bound or size bound. For example this would enable using solutions like Spegel, without the fear of completely filling the disks. |
|
@azr some of this would be dealt with by Kubernetes garbage collection. Depending on how much control you have of your kubelet you could set a disk pressure percentage for when garbage collection should kick in. |
|
Hey @phillebaba oh, thanks for the pointer, I need to read about that more carefully ! |
|
Needs rebase |
Content retention allows the client to indicate when transfering into the image store what content they want retained. Client may have different intentions for how the content may or may not be used after the image transfer. Signed-off-by: Derek McGowan <[email protected]>
Signed-off-by: Derek McGowan <[email protected]>
95bc298 to
ad80540
Compare
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
This PR is stale because it has been open 90 days with no activity. This PR will be closed in 7 days unless new comments are made or the stale label is removed. |
|
This PR was closed because it has been stalled for 7 days with no activity. |
Allows clients to specify how content should be retained from a pull. This is need both to implement discard content policy as well as to download all content via the transfer service when an unpack configuration is provided.
Currently in the code which is optimized to unpack in parallel to fetching content, there is no way to force the download of content which is already unpacked without completely disabling unpack.
The retention levels that can be defined are:
None- The same as the discard content policy, this will not keep any tars around after pullCached- This is the current default, will retain the content that was fetched and cached locally to do the unpackAll- Equivalent to pull all platforms, this will allow fetching all content even when not unpacking all platforms. There is currently a gap in support that makes it impossible to push previously pulled multi-platform images without explicitly using a command likectr content fetch --all-platforms.