-
Notifications
You must be signed in to change notification settings - Fork 506
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
plugins: add tail (github.com/boz/kail) #150
Conversation
/assign @juanvallejo |
/assign looks like
|
/cc @corneliusweig |
@ahmetb: GitHub didn't allow me to request PR reviews from the following users: corneliusweig. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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. |
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.
Thanks for your contribution!
Please also add a caveats
field. It is shown post-install which gives you the opportunity to show
- how your tool is invoked
- where to find usage instructions
When I run tail (linux,amd64) and end it with Ctrl+C, it gives the following error:
E0517 11:42:07.325821 20111 streamwatcher.go:109] Unable to decode an event from the watch stream: context canceled
Is that expected behavior?
Thanks for the feedback @corneliusweig. I'll address these things when I have a chance.
It's from I don't see them when I run Anyways... it's somewhat expected because a context is indeed cancelled to shut things down, but of course ideally the message wouldn't be shown 🤷♂️ |
@boz I haven't checked where exactly the error is logged. But if you have it under control, do you already do a check like
(beware, typed on phone) |
If you’re seeing some weird behavior when process ran as a plugin vs standalone, this is totally worth filing a bug to kubectl. |
I don't use
I don't know of any other way of executing new programs. It could still be that It could be a lot of things, tho - including recent changes to @corneliusweig, @ahmetb: thanks for the help! |
OK no rush. Let’s hold until the issue is fixed. |
Looks like I've updated the various manifest fields and bumped to a version of |
Looks like some examples in the |
bump @ahmetb |
Sorry just got back from kubecon! The only problem I'm seeing so far is a discrepancy with the potential style guide we'll be adding (#152): kail uses But I think we can make an exception since the tool was existing before and has a broad user base that is not easy to break. @corneliusweig any input? |
Right on. FWIW If it's a huge problem, adding |
SG. I guess you can add —namespace later. We don’t strictly enforce the flags etc for now. So I think we can have this. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahmetb, boz 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 |
/hold cancel |
Sorry, for being so slow to respond. I think it would be a great idea to also add |
see boz/kail#34
Checklist for plugin developers:
kubectl krew install --manifest=[...] --archive=[...]
)