Skip to content
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

CLOUD-1520: Don't use proxy for all communications at all #31

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

jwendell
Copy link
Member

Communications intra-pods don't need to be proxied. In fact
they must not. This patch prevents traffic being routed to
a proxy in case a java property like "http.proxyHost" is set
in the environment.

As a side effect of this change, clustering will not be
affected by env variables like "https_proxy".

Communications intra-pods don't need to be proxied. In fact
they must not. This patch prevents traffic being routed to
a proxy in case a java property like "http.proxyHost" is set
in the environment.

As a side effect of this change, clustering will not be
affected by env variables like "https_proxy".
@jwendell
Copy link
Member Author

I have tested it "by hand" and it worked as expected. I'm going to write a test in ce-testsuite for it as well.

@jwendell
Copy link
Member Author

jwendell commented May 2, 2017

It's done: jboss-openshift/ce-testsuite#170

@rcernich
Copy link
Contributor

Hey @knrc, do you mind giving this a quick review. It looks fine to me, but I'm wondering if we should make this configurable, with the default being no-proxy. Also, on another jira, I mentioned that a better solution would be to tell folks to configure no_proxy when they configure their proxy settings for the cluster. When doing so, they should add svc. to the no_proxy list, which would circumvent all of these problems (thought of after we'd addressed this in all the probes).

Short: I'm fine with this as-is, but would like confirmation.

@knrc
Copy link

knrc commented Jun 6, 2017

@rcernich I think it is the right decision to force all inter-pod communication over NO_PROXY handlers, I can't think of any reason why using a proxy for this communication would make sense.

@knrc knrc merged commit 1d99588 into jboss-openshift:master Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants