-
Notifications
You must be signed in to change notification settings - Fork 460
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 --transport
option to port-forward
#1385
Add --transport
option to port-forward
#1385
Conversation
@kubernetes-sigs/cri-tools-maintainers PTAL |
Flags: []cli.Flag{ | ||
&cli.StringFlag{ | ||
Name: transportFlag, | ||
Aliases: []string{"r"}, |
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.
Was r
chosen here because t
was already taken?
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.
Yes, on exec
and attach
.
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.
Ah bummer.
/approve |
The latest Kubernetes beta supports using websockets for port-forward. We now introduce a similar option to `attach` and `exec` to be able to select the new transport. See: kubernetes/enhancements#4006 Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
e1f9c9a
to
175bbd5
Compare
/lgtm |
@kwilczynski: changing LGTM is restricted to collaborators 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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kwilczynski, saschagrunert, SergeyKanzhelev 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
The latest Kubernetes beta supports using websockets for port-forward. We now introduce a similar option to
attach
andexec
to be able to select the new transport.See: kubernetes/enhancements#4006
Which issue(s) this PR fixes:
Follow-up on #1383
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?