-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
feat: Add kicbase download progress to JSON output #15685
feat: Add kicbase download progress to JSON output #15685
Conversation
Hi @ComradeProgrammer. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions 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/test-infra repository. |
Can one of the admins verify this patch? |
@spowelljr Could you please have a look at this? |
d1aef03
to
31132f5
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 am curious how many new lines does this add to the json file ? maybe the json users wouldnt need that level of details
Well, for normal users with a good network connection(10MB/S), there would be about 48 lines?. Kicbase image is 480MB. If that is too much, I can make it generate less logs. |
31132f5
to
7f24322
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 believe this outputs a JSON log every second, for people with slow internet the download can take a long time and the JSON output can get quite large. I'd recommend this outputs say every 5 seconds instead to lessen the logs while still giving consistent output that the process is still running.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ComradeProgrammer The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
(Well the current code is exactly logging every 5 seconds |
7f24322
to
07431a4
Compare
feat: Add kicbase download progress to JSON output
FIXES #15481
Before:
Before this PR, when we execute
minikube start -o json
, the output looks like this:No output for kicbase download progress in json output
After
After this PR, when we execute
minikube start -o json
, we can find this partSimilar to downloading progress for preloads, the output is genearted per second.