-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Updating kubectl to use POST instead of GET for port-forward and exec #10654
Conversation
f6bc814
to
b38d8b1
Compare
GCE e2e build/test passed for commit f6bc8140857ee3caf7e183243d5f035653ccd5c7. |
GCE e2e build/test passed for commit b38d8b1. |
cc @smarterclayton @bgrant0607 @lavalamp @smarterclayton You said that we need to test this with HAProxy and an F5 proxy in front of our exec/portforward endpoints. Verified that e2e tests basic exec and port-forward: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/test/e2e/kubectl.go#L155 |
I believe @ncdc did some quick testing. On Jul 1, 2015, at 11:03 PM, Nikhil Jindal notifications@github.com wrote: cc @smarterclayton https://github.com/smarterclayton @bgrant0607 @smarterclayton https://github.com/smarterclayton You said that we need Verified that e2e tests basic exec and port-forward: — |
@jlowdermilk loves |
I tested adding support for exec and port forwarding to use http_proxy/https_proxy env vars to be able to use a proxy to reach the master, as they currently don't. That worked against squid (I didn't test proxy auth though). I didn't test this with a reverse proxy in front of the master. |
LGTM. Don't know about the ha/f5 proxy, but jenkins green is good enough for me. |
This is fine since we continue to support GET. LGTM On Thu, Jul 2, 2015 at 12:53 PM, Jeff Lowdermilk notifications@github.com
Clayton Coleman | Lead Engineer, OpenShift |
@bgrant0607 for the final ok-to-merge |
Did you manually test? I didn't think there was an e2e test that covered this stuff. (If there is, then consider this an LGTM) |
Yes there is an e2e test: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/test/e2e/kubectl.go#L155 I wasnt able to test it locally, since it required some additional softwares to be installed. |
@lavalamp please apply ok-to-merge if you're fine with the test coverage |
LGTM Does the serve accept either POST or GET? Or is it currently broken? |
LGTM |
Updating kubectl to use POST instead of GET for port-forward and exec
Fixes #10366