-
Notifications
You must be signed in to change notification settings - Fork 26
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
Produce a single archive #70
Produce a single archive #70
Conversation
This patch adds a step at the end of the gathering to produce an additional single archive of the whole gathered content. Use case: I need to grep across pod logs with a request ID so I need to download the content of the gathering. However the content is in a lot of small files causing that a recursive wget takes tens of minutes to finish and probably generates excess load on the log server.
91686a2
to
f9534a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with this patch, thank you @gibizer.
I want to make sure someone from the CI team can take a look and approve, but in general looks good to me.
/cc @lewisdenny
* COMPRESSED_PATH env var can be used to define where to store the archive created. By default the archive is stored in the root of the gather directory * DELETE_AFTER_COMPRESSION env var can be used to define whether the uncompressed files are deleted after the compression is done. By default the uncompressed files are also kept. If DELETE_AFTER_COMPRESSION is set to 1 then the files are deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fmount The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
4db8d6b
into
openstack-k8s-operators:main
This patch adds a step at the end of the gathering to produce an
additional single archive of the whole gathered content.
Use case: I need to grep across pod logs with a request ID so I need to
download the content of the gathering. However the content is
in a lot of small files causing that a recursive wget takes tens of
minutes to finish and probably generates excess load on the log server.
archive created. By default the archive is stored in the root of
the gather directory
uncompressed files are deleted after the compression is done. By
default the uncompressed files are also kept. If DELETE_AFTER_COMPRESSION
is set to 1 then the files are deleted.