-
Notifications
You must be signed in to change notification settings - Fork 5k
Refactor table rendering #20893
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
Refactor table rendering #20893
Conversation
Hi @Victorthedev. 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-sigs/prow repository. |
@medyagh please review |
Can one of the admins verify this patch? |
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.
@Victorthedev thank you for this PR, can you please share the output of a few minikube commands that use table
for example
./out/minikube start -p p1
./out/minikube start -p p2
./out/minikube start -p p3
minikube profile list
// deploy bunch of services and then
minikube service list
I wanna see if that changed the looks of it or not, and I wonder if we need to set the alignment to "Left" or not
because it seems like they changed the default alignment to be none
/ok-to-test |
@Victorthedev also plz post output of minikube addons list |
@Victorthedev plz check the builderrors "https://storage.googleapis.com/minikube-builds/logs/20893/build.txt" |
I just pushed a commit for pkg/minikube/perf/result_manager.go, thats the file with the error |
This comment has been minimized.
This comment has been minimized.
@Victorthedev thank you very much for the Screenshot, do you think we need Align Left? the "minikube service list" the port seems like it is aligned Right, maybe we can try with Align Let? |
@Victorthedev can we also bump the go mod in the same PR to verify it works with new lib version? |
@medyagh Done |
@medyagh tried using table.SetColumnAlignment([]int{0, 0, 0, 0}) |
/retest |
@Victorthedev plz check the error https://storage.googleapis.com/minikube-builds/logs/20893/build.txt |
@Victorthedev I think some of the Calls to the func may need to be updated to the new func signature
|
Yes yes, I'm working on them |
kvm2 driver with docker runtime
Times for minikube start: 52.0s 52.0s 51.4s 50.0s 49.4s Times for minikube ingress: 15.0s 15.0s 15.0s 15.0s 15.0s docker driver with docker runtime
Times for minikube start: 22.4s 22.2s 22.4s 21.9s 22.1s Times for minikube ingress: 12.7s 72.7s 12.2s 12.7s 12.7s docker driver with containerd runtime
Times for minikube start: 24.1s 21.8s 21.7s 20.4s 21.6s Times for minikube ingress: 22.7s 22.7s 22.7s 39.2s 22.7s |
/lgtm |
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 pushed my changes to this PR we can merge this
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, Victorthedev 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 |
Bumping the tablewriter library and refresh the looks of the Tables from ASCII to newer look
Before This PR
After this PR
This commit makes all necessary code changes to maintain compatibility with the new tablewriter version. The update includes several required modifications across multiple files.
Files modified:
Now #20878 can be merged.
Addresses #20879