From e083fd3d44700b7d1acba1144a042db777e9cd2f Mon Sep 17 00:00:00 2001 From: Victor HU Date: Thu, 12 Mar 2015 14:55:59 +0800 Subject: [PATCH] Doc on proxy settings Add doc on how to set proxy while building kubernetes in container. --- build/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build/README.md b/build/README.md index c02146d8f41..23e1c1f4f3b 100644 --- a/build/README.md +++ b/build/README.md @@ -67,6 +67,21 @@ Everything in `build/build-image/` is meant to be run inside of the container. When building final release tars, they are first staged into `_output/release-stage` before being tar'd up and put into `_output/release-tars`. +## Proxy Settings + + +If you are behind a proxy, you need to edit `build/build-image/Dockerfile` and add proxy settings to execute command in that container correctly. + +example: + +`ENV http_proxy http://username:password@proxyaddr:proxyport` + +`ENV https_proxy http://username:password@proxyaddr:proxyport` + +Besides, to avoid integration test touch the proxy while connecting to local etcd service, you need to set + +`ENV no_proxy 127.0.0.1` + ## TODOs These are in no particular order