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
Add option to run follow + label #63614
Conversation
@gabrielsvinha: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: GabrielSVinha Assign the PR to them by writing 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 |
/ok-to-test |
60c57ec
to
202feb3
Compare
/assign @smarterclayton |
/release-note-none |
I have a comment regarding this feature. This patch won't work as-is (unless I'm wrong) because when you reach: kubernetes/pkg/kubectl/cmd/logs.go Line 297 in 10b8665
on the first pod, this operation will block, and you won't follow the rest of the pod logs, only the first one. I started to work on this yesterday, and I have something very similar: master...ereslibre:follow-selector However, I wanted to take more things into account before submitting a PR. Meaning: what happens if in the process of following a selector logs (e.g.
I think a simple approach could be the ideal case first, but as said, this PR won't actually follow a set of pods correctly because it'll lock on the first one. |
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 don't think this really does implement this.
Agree with @ereslibre. This PR does not really implement this feature. |
@gabrielsvinha: PR needs rebase. 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. |
/uncc |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. 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. |
What this PR does / why we need it:
Remove check for follow + selector when running kubectl logs -l -f
Which issue(s) this PR fixes
Fixes #52218