-
Notifications
You must be signed in to change notification settings - Fork 31
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
[feature] Template option for displaying manifest before sync #307
Comments
Doing some research into this, have a working demo of calculating total image size and total file size (helm + files). For the images you can calculate the total download size by iterating through the OCI Manifest and taking the sum of the layer size, this is a compressed total gzip, this would not account for total size taken up within the store, which potentially could lead to a disk usage issue. For content pulled from the web you can check Would this suffice @clemenko?
|
potentially. the goal is to be able to create a reusable manifest from |
I think this would be a three part transition that would cover three open I like the initial stab at it @wcrum! |
When using
hauler store sync --products...
it can potentially download in excess of 40gb of data. Having a template function to show the manifest BEFORE actually downloading would allow teams to choose, check in to version control, and compare image lists they may already have.Describe Proposed Solution(s):
create a flag
--create-manifest
for exporting the manifest yaml. Either to stdout or to a file.hauler store sync --products rancher=2.8.6 --create-manifest
This will give teams the ability to review what images are being pulled. Check the manifest into version control. And potentially trim down the manifest to remove images that are not needed. aka removing longhorn, neuvector, isitio and the likes.
as an example
Describe Possible Alternatives:
current alternative is
which actually starts to download before creating the local manifest.
Additional Context:
The text was updated successfully, but these errors were encountered: