-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Nodeport GCE e2e fixes #8728
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
Nodeport GCE e2e fixes #8728
Conversation
Just got this to work, so no need to manually open any NodePort ranges for e2e tests! |
Does that mean we don't need the extra firewall rule? |
Sorry, what I mean is that previously I had set up this rule manually (i.e. by running the commands directly), and I was concerned that this would be problematic for automated testing. I don't know that we're ready to have these ports be opened up for everyone that runs cluster/kube-up. However, it seems pretty safe to do it only for e2e testing. Expect a follow up PR to open it for all users, but we'll want to think that one through pretty carefully. I don't think the security threshold needs to be as high for our e2e setup! |
LGTM |
LGTM. @justinsb I am merging this one to run jenkin for tonight. Will let you know the result tomorrow. |
Agreed that we'll need to consider this carefully. FYI, this is going to break GKE's e2e testing since these extra ports will not be opened on the GKE cluster where the e2e tests run. |
I'm not at all sure that we want to open these ports in general. We On Fri, May 22, 2015 at 9:15 PM, Robert Bailey [email protected]
|
Justin: Something we may want to change for more compat (short term): We On Fri, May 22, 2015 at 9:16 PM, Tim Hockin [email protected] wrote:
|
@thockin OK, I can do that. I know some people would want the ability to totally prevent public IP specification, but if it is going away I will reinstate it until we are ready to remove support for it. Sorry for removing it! |
As for the need for firewalls - can we do e2e to node ports without On Fri, May 22, 2015 at 9:28 PM, Justin Santa Barbara <
|
Big thing is that we need to tell the test scripts to open the firewall rules for NodePorts for e2e tests. This is in the test-specific bit of gce/gke utils.sh. I expect these should be moved so that the NodePort range is always opened for users (unless they directly ask otherwise), but I think that warrants more consideration, and I know we want to get e2e passing again.
WIP while I test myself with a full -down & -up.
The other issue is that I lost a line in my git-work that puts the NodePort to 0, which is required when changing from NodePort -> ClusterIP.
cc @dchen1107