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

How to avoid proxies interferring with /api/v1/namespaces/{namespace}/pods/{name}/proxy/ #7694

Closed
brenton opened this issue Feb 29, 2016 · 4 comments · Fixed by #8016
Closed

Comments

@brenton
Copy link
Contributor

brenton commented Feb 29, 2016

In many cases admins set HTTP{S}_PROXY and NO_PROXY when the Master, Node or Docker need to be configured for proxies. The challenge with NO_PROXY has been that while it can accept zones or hostnames or IPs it can't be set to cidr ranges. When the Master proxies to a pod it does so over the Pod IP. It's not practical (or really even possible) to set all the Pod IPs in the NO_PROXY setting.

This makes me think this situation may have to be special cased. I suspect the vast majority of environments will not want to use a proxy for the Master->Pod communication. However, I'm certain someone will. Should some configuration like this be added to the Master config? Perhaps a boolean setting that would tell the Master to obey the normal environment variables when reaching Pod. The default would be to ignore them for the proxy API calls.

@brenton
Copy link
Contributor Author

brenton commented Feb 29, 2016

@liggitt, thoughts?

@sdodson
Copy link
Member

sdodson commented Mar 8, 2016

/me nominates this for P1 if my global proxy config stuff is to happen for 3.2 we need to sort this and the linked issue out.

@sdodson
Copy link
Member

sdodson commented Mar 14, 2016

@danmcp I believe this is a blocker if we want 'Global Proxy' as a 1.2/3.2 feature.

@deads2k
Copy link
Contributor

deads2k commented Mar 15, 2016

Opened kubernetes/kubernetes#23003 upstream

@deads2k deads2k assigned deads2k and unassigned liggitt Mar 15, 2016
@deads2k deads2k mentioned this issue Mar 15, 2016
85 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants