mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Doc on proxy settings
Add doc on how to set proxy while building kubernetes in container.
This commit is contained in:
parent
23c9c405fb
commit
e083fd3d44
@ -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`.
|
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
|
## TODOs
|
||||||
|
|
||||||
These are in no particular order
|
These are in no particular order
|
||||||
|
Loading…
Reference in New Issue
Block a user