KEMBAR78
new addon: kubetail by amorey · Pull Request #20345 · kubernetes/minikube · GitHub
Skip to content

Conversation

@amorey
Copy link
Contributor

@amorey amorey commented Feb 2, 2025

This PR adds kubetail (https://github.com/kubetail-org/kubetail) to the addons registry.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 2, 2025
@k8s-ci-robot
Copy link
Contributor

Welcome @amorey!

It looks like this is your first PR to kubernetes/minikube 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/minikube has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 2, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @amorey. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Feb 2, 2025
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@amorey
Copy link
Contributor Author

amorey commented Feb 4, 2025

@spowelljr @ComradeProgrammer Just checking in! Would it be possible to take a look at this PR soon? I added an addon so most of the diff is from new yaml files.

@medyagh
Copy link
Member

medyagh commented Feb 4, 2025

@amorey thanks for the PR do u mind posting an example of using this addon and what it is for?

@medyagh
Copy link
Member

medyagh commented Feb 4, 2025

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 4, 2025
@amorey
Copy link
Contributor Author

amorey commented Feb 4, 2025

@medyagh Kubetail is a logging dashboard for Kubernetes that lets you view multiple log streams simultaneously in the same timeline. Once it's installed in a cluster you can access the dashboard website through a service (e.g. minikube service -n kubetail-system kubetail-dashboard).

Here's a screenshot:
b37a6ca2-75b8-416a-a2e4-653c67f7fadd

Here's a video:
https://www.youtube.com/watch?v=zyML-Pg12vw

Here's a live demo:
https://demo.kubetail.com

And here's the repo:
https://github.com/kubetail-org/kubetail

Let me know if there's something else I can explain! Is there somewhere in particular I should post examples to?

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot
Copy link

Here are the number of top 10 failed tests in each environments with lowest flake rate.

Environment Test Name Flake Rate
Docker_Linux_docker_arm64 (1 failed) TestStartStop/group/old-k8s-version/serial/SecondStart(gopogh) 0.00% (chart)
KVM_Linux_crio (1 failed) TestAddons/parallel/CSI(gopogh) 14.00% (chart)

Besides the following environments also have failed tests:

To see the flake rates of all tests by environment, click here.

@amorey
Copy link
Contributor Author

amorey commented Feb 5, 2025

Are these test failures expected? Do I need to apply a fix to this PR? I ran the tests locally and got some errors but they're present in the master too:

FAIL	k8s.io/minikube/deploy/minikube	600.195s
FAIL	k8s.io/minikube/test/stress	600.116s

@amorey amorey force-pushed the kubetail-addon branch from cc51375 to bc87dfc Compare May 2, 2025 17:22
@amorey
Copy link
Contributor Author

amorey commented May 2, 2025

@medyagh I just rebased and am still working on the PR so you can hold off on approving the tests for now.

@amorey
Copy link
Contributor Author

amorey commented May 2, 2025

@medyagh I updated Kubetail to the latest version that includes the ability to search/grep container logs. It's ok to run the tests now. Here's a demo video of the addon: https://youtu.be/Gjx3ug_Q0A8

Let me know what else I need to do to get the PR merged.

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@amorey
Copy link
Contributor Author

amorey commented May 6, 2025

@medyagh @spowelljr @ComradeProgrammer Are the tests expected to pass? The logs are hard to parse but it looks like most of the failures are from code unrelated to addons. Let me know what I need to do for this PR to get merged.

@medyagh
Copy link
Member

medyagh commented May 22, 2025

sorry for the delay I forgot about this PR, I will take a look after the release

@amorey
Copy link
Contributor Author

amorey commented May 22, 2025

Awesome! Thanks!

@amorey
Copy link
Contributor Author

amorey commented May 24, 2025

Upgraded to latest version of kubetail, rebased and squashed commits

@minikube-pr-bot

This comment has been minimized.

Signed-off-by: Andres Morey <andresmarcel@gmail.com>
@amorey
Copy link
Contributor Author

amorey commented Jun 4, 2025

I just rebased and upgraded to the latest version of Kubetail. Here's a quick demo (2 min) to show the addon in action:
https://www.loom.com/share/77842e7d88d2446781d8c08a1303ff2c?sid=1d0b4435-3772-46b1-b1e8-a4db1ffc94ce

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 20345) |
+----------------+----------+---------------------+
| minikube start | 90.3s    | 45.9s               |
| enable ingress | 15.0s    | 15.7s               |
+----------------+----------+---------------------+

Times for minikube start: 43.1s 42.6s 43.2s 161.1s 161.6s
Times for minikube (PR 20345) start: 44.0s 43.4s 44.2s 51.3s 46.9s

Times for minikube ingress: 15.0s 14.5s 15.0s 14.5s 16.0s
Times for minikube (PR 20345) ingress: 15.0s 18.5s 15.0s 15.0s 15.0s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 20345) |
+----------------+----------+---------------------+
| minikube start | 23.5s    | 24.2s               |
| enable ingress | 13.0s    | 13.2s               |
+----------------+----------+---------------------+

Times for minikube (PR 20345) start: 26.2s 24.6s 23.2s 24.3s 22.7s
Times for minikube start: 26.0s 23.1s 22.8s 22.9s 22.6s

Times for minikube ingress: 13.3s 13.3s 13.3s 12.8s 12.3s
Times for minikube (PR 20345) ingress: 13.3s 13.3s 13.3s 12.3s 13.9s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 20345) |
+----------------+----------+---------------------+
| minikube start | 22.9s    | 22.3s               |
| enable ingress | 36.7s    | 34.9s               |
+----------------+----------+---------------------+

Times for minikube start: 23.8s 22.4s 25.5s 21.9s 20.8s
Times for minikube (PR 20345) start: 22.3s 20.6s 21.3s 22.9s 24.2s

Times for minikube ingress: 38.8s 27.5s 39.3s 38.8s 39.3s
Times for minikube (PR 20345) ingress: 29.3s 38.8s 38.8s 28.8s 38.8s

@medyagh
Copy link
Member

medyagh commented Jun 5, 2025

thank you @amorey for your patience and your contribution I look forward to see more contributions from you

@medyagh
Copy link
Member

medyagh commented Jun 5, 2025

/lgtm

@medyagh medyagh merged commit 60212f1 into kubernetes:master Jun 5, 2025
18 of 32 checks passed
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 5, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amorey, medyagh

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 5, 2025
@medyagh medyagh changed the title Add kubetail to addons registry new addon: kubetail Jun 5, 2025
@amorey
Copy link
Contributor Author

amorey commented Jun 5, 2025

Thanks @medyagh! I've been using minikube every day for a few years now and I love how well it works. I switch between Intel and Apple Silicon multiple times on a daily basis without skipping a beat. You all are doing an amazing job. Looking forward to contributing!

@amorey amorey deleted the kubetail-addon branch August 5, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants